diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2017-11-03 02:58:13 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-11-08 07:52:23 +0100 |
commit | c8384bb04261b9d32fe7402a6068ddaf38913b23 (patch) | |
tree | 3d587883486b42b4b82847b806d0b9cf87748d4e /drivers/rtc/rtc-s3c.h | |
parent | rtc: m41t80: m41t80_sqw_set_rate should return 0 on success (diff) | |
download | linux-c8384bb04261b9d32fe7402a6068ddaf38913b23.tar.xz linux-c8384bb04261b9d32fe7402a6068ddaf38913b23.zip |
rtc: m41t80: fix m41t80_sqw_round_rate return value
Previously it was returning the best of
32768, 8192, 1024, 64, 2, 0
Now, best of
32768, 8192, 4096, 2048, 1024, 512, 256, 128,
64, 32, 16, 8, 4, 2, 1, 0
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-s3c.h')
0 files changed, 0 insertions, 0 deletions