diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-05-31 17:18:08 +0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-05-31 23:02:11 +0200 |
commit | a0defd7cfc2804796144545e00aaf74a486adbe7 (patch) | |
tree | d0b7b5732a69eb92010805f4f044009b84953254 /include/media | |
parent | 09018d4bd7994c2c9f775029bc24589bc85f76fa (diff) | |
download | linux-a0defd7cfc2804796144545e00aaf74a486adbe7.tar.bz2 |
rtc: sprd: Add new RTC power down check method
We should use the new method to check if RTC was powered down, which
is more solid. Since we have introduced power control and power status
registers, and we just check if the power status is the default value
(0x96), if yes that means the RTC has been powered down. Meanwhile We
can set the power control register to be one valid value to change
the power status to indicate RTC device is valid now.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions