diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2017-11-02 18:58:13 -0700 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-11-08 07:52:23 +0100 |
commit | c8384bb04261b9d32fe7402a6068ddaf38913b23 (patch) | |
tree | 3d587883486b42b4b82847b806d0b9cf87748d4e /drivers/rtc/rtc-ds1307.c | |
parent | de6042d2fa8afe22b76e3c68fd6e9584c9415a3b (diff) | |
download | lwn-c8384bb04261b9d32fe7402a6068ddaf38913b23.tar.gz lwn-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-ds1307.c')
0 files changed, 0 insertions, 0 deletions