aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorHyogi Gim <[email protected]>2014-12-10 15:52:27 -0800
committerLinus Torvalds <[email protected]>2014-12-10 17:41:13 -0800
commit16682c86d2fb68cc78c6cc0af51c2a78809dc5b0 (patch)
tree99297da840e40be5c9a98a1e3c1fb4ed038a1bad /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent0e95325525c4383565cea4f402f15a3113162d05 (diff)
drivers/rtc/interface.c: check the validation of rtc_time in __rtc_read_time
Some rtc devices always return '0' when rtc_class_ops.read_time is called. So if rtc_time isn't verified in callback, rtc interface cannot know whether rtc_time is valid. Check rtc_time by using 'rtc_valid_tm' in '__rtc_read_time'. And add the message for debugging. Signed-off-by: Hyogi Gim <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: John Stultz <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions