diff options
author | Antoniu Miclaus <antoniu.miclaus@analog.com> | 2024-02-19 11:16:15 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-02-29 22:40:33 +0100 |
commit | c12e67e076cbcb86fd9c3cb003a344ec684138a6 (patch) | |
tree | 508cf2e9cebcb951ef91d89a2f18f0f9f8fa54df /lib/test_ida.c | |
parent | 544c42f798e1651dcb04fb0395219bf0f1c2607e (diff) | |
download | linux-stable-c12e67e076cbcb86fd9c3cb003a344ec684138a6.tar.gz linux-stable-c12e67e076cbcb86fd9c3cb003a344ec684138a6.tar.bz2 linux-stable-c12e67e076cbcb86fd9c3cb003a344ec684138a6.zip |
rtc: max31335: fix interrupt status reg
Fix the register value comparison in the `max31335_volatile_reg`
function for the interrupt status register.
MAX31335_STATUS1 macro definition corresponds to the actual
interrupt status register.
Fixes: dedaf03b99d6 ("rtc: max31335: add driver support")
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240219091616.24480-1-antoniu.miclaus@analog.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'lib/test_ida.c')
0 files changed, 0 insertions, 0 deletions