rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
[platform/kernel/linux-rpi.git] / drivers / rtc / rtc-pcf85363.c
index 0619467..540042b 100644 (file)
@@ -438,7 +438,7 @@ static int pcf85363_probe(struct i2c_client *client)
        if (client->irq > 0 || wakeup_source) {
                regmap_write(pcf85363->regmap, CTRL_FLAGS, 0);
                regmap_update_bits(pcf85363->regmap, CTRL_PIN_IO,
-                                  PIN_IO_INTA_OUT, PIN_IO_INTAPM);
+                                  PIN_IO_INTAPM, PIN_IO_INTA_OUT);
        }
 
        if (client->irq > 0) {