aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAkinobu Mita <[email protected]>2016-04-10 23:59:23 +0900
committerAlexandre Belloni <[email protected]>2016-05-20 12:33:51 +0200
commitbc83a141b8351f6d4458dd13eca5a66f2c0f3323 (patch)
treead1e38cf7b0ae2862847feb1ec7d5c215d6bc3b6 /tools/perf/scripts/python
parent05a7f27a889f1635b7b7d5b051b17cacb25267fa (diff)
rtc: ds1302: fix error check in set_time
The set_time callback for rtc-ds1302 doesn't write clock registers because the error check for the return value from spi_write_then_read() is not correct. spi_write_then_read() which returns zero on success. Signed-off-by: Akinobu Mita <[email protected]> Cc: Sergey Yanovich <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Alexandre Belloni <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions