Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c66e1e0 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: rx8025: fix RX8025_BIT_CTRL2_CTFG initialization



RX8025_BIT_CTRL2_CTFG was set to 0 only when it was already 0.

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 4b33d36b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -270,7 +270,7 @@ static int rx8025_init_client(struct i2c_client *client)
		need_clear = 1;
	}

	if (!(ctrl[1] & RX8025_BIT_CTRL2_CTFG))
	if (ctrl[1] & RX8025_BIT_CTRL2_CTFG)
		need_clear = 1;

	if (need_clear) {