]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf2127: fix a bug when not specify interrupts property
authorBiwen Li <biwen.li@nxp.com>
Tue, 15 Sep 2020 07:32:09 +0000 (15:32 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 15 Sep 2020 10:25:44 +0000 (12:25 +0200)
commitb772b2570f19ccf5b54a2d4b7e0ddae200939fde
treead495e8ce90721ec8c366d21704e87408da5845e
parentfd6ebb1edc289c95841cc2a4632e531b801ce47d
rtc: pcf2127: fix a bug when not specify interrupts property

Fix a bug when not specify interrupts property in dts
as follows,
    rtc-pcf2127-i2c 1-0051: failed to request alarm irq
    rtc-pcf2127-i2c: probe of 1-0051 failed with error -22

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200915073213.12779-1-biwen.li@oss.nxp.com
drivers/rtc/rtc-pcf2127.c