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

Commit b5488b6e authored by Mark Brown's avatar Mark Brown Committed by Samuel Ortiz
Browse files

mfd: Update wm8994 active device checks for WM1811



This didn't go in as part of the original MFD patch for WM1811 due to
cross tree issues.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 26bc4e0c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -239,6 +239,7 @@ static int wm8994_suspend(struct device *dev)

	switch (wm8994->type) {
	case WM8958:
	case WM1811:
		ret = wm8994_reg_read(wm8994, WM8958_MIC_DETECT_1);
		if (ret < 0) {
			dev_err(dev, "Failed to read power status: %d\n", ret);