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

Commit be79cf2f authored by Mark Brown's avatar Mark Brown
Browse files

mfd: Don't hard code the reset value for WM8994 devices

parent 26c34c25
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -276,7 +276,8 @@ static int wm8994_suspend(struct device *dev)
	/* Explicitly put the device into reset in case regulators
	 * don't get disabled in order to ensure consistent restart.
	 */
	wm8994_reg_write(wm8994, WM8994_SOFTWARE_RESET, 0x8994);
	wm8994_reg_write(wm8994, WM8994_SOFTWARE_RESET,
			 wm8994_reg_read(wm8994, WM8994_SOFTWARE_RESET));

	wm8994->suspended = true;