diff options
| author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | 2020-01-20 15:45:11 +0200 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2020-01-24 07:23:01 +0000 |
| commit | 6c883472e1c11cb05561b6dd0c28bb037c2bf2de (patch) | |
| tree | 0f58d22abed4cfb1521886ec6e21e5202339cbcc /drivers/fpga/fpga-bridge.c | |
| parent | 21b72156ede8b7da0367c6338574c1bc40439157 (diff) | |
mfd: bd70528: Fix hour register mask
When RTC is used in 24H mode (and it is by this driver) the maximum
hour value is 24 in BCD. This occupies bits [5:0] - which means
correct mask for HOUR register is 0x3f not 0x1f. Fix the mask
Fixes: 32a4a4ebf768 ("rtc: bd70528: Initial support for ROHM bd70528 RTC")
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
