diff options
| author | Akinobu Mita <[email protected]> | 2016-04-10 23:59:24 +0900 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2016-05-20 12:33:51 +0200 |
| commit | ef50f86e15f2516658f0badd7890292d7a685106 (patch) | |
| tree | 628d83f54ff9d7e178cfbc5aedbbcd954ad57e00 /tools/perf/scripts/python/bin | |
| parent | bc83a141b8351f6d4458dd13eca5a66f2c0f3323 (diff) | |
rtc: ds1302: fix write value for day of week register
The valid range of day of week register for DS1302 is 1 to 7. But the
set_time callback for rtc-ds1302 attempts to write the value of
tm->tm_wday which is in the range 0 to 6. While the get_time callback
correctly decodes the register.
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/bin')
0 files changed, 0 insertions, 0 deletions