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

Commit ec911d29 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: smb1351: disable watchdog timer"

parents 8036da82 852a9e58
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1158,6 +1158,14 @@ static int smb1351_hw_init(struct smb1351_charger *chip)
		}
	}

	/* Disable watchdog */
	rc = smb1351_masked_write(chip, WDOG_SAFETY_TIMER_CTRL_REG,
				WDOG_TIMER_EN_BIT, 0);
	if (rc) {
		pr_err("Couldn't disable watchdog rc = %d\n", rc);
		return rc;
	}

	return rc;
}