From: Liam Beguin <lvb@xxxxxxxxxx> From: Liam Beguin <lvb@xxxxxxxxxx> Signed-off-by: Liam Beguin <lvb@xxxxxxxxxx> --- drivers/rtc/rtc-pcf2127.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/rtc/rtc-pcf2127.c b/drivers/rtc/rtc-pcf2127.c index 3eeb085a7c72..f004a4030970 100644 --- a/drivers/rtc/rtc-pcf2127.c +++ b/drivers/rtc/rtc-pcf2127.c @@ -546,6 +546,14 @@ static int pcf2127_probe(struct device *dev, struct regmap *regmap, pcf2127->rtc->ops = &pcf2127_rtc_ops; + ret = regmap_update_bits(pcf2127->regmap, PCF2127_REG_CTRL2, + PCF2127_BIT_CTRL2_AIE, 0); + if (ret) { + dev_err(dev, "%s: failed to clear interrupt enable bit (%d)", + __func__, ret); + return ret; + } + device_init_wakeup(dev, true); pcf2127->wdd.parent = dev; -- 2.27.0