diff options
| author | Krzysztof Kozlowski <[email protected]> | 2015-04-16 12:45:57 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-04-17 09:04:02 -0400 |
| commit | 202fe4c27f427c48ca5660277d743ee8b43fc200 (patch) | |
| tree | cd29a98058d369bf629aa635368594fbfdb47be5 /tools/perf/scripts/python/bin | |
| parent | 521fca18e828cddc94535a1ea5ac33460f1de679 (diff) | |
drivers/rtc/rtc-s3c.c: fix failed first read of RTC time
Initialize the device time (if it is wrong) before registering RTC device
to fix following error message during rtc-s3c probe:
[ 2.215414] rtc (null): read_time: fail to read
[ 2.216322] s3c-rtc 10070000.rtc: rtc core: registered s3c as rtc1
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Reviewed-by: Chanwoo Choi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions