Skip to contentSkip to conversation

mfd: Update wm8994 active device checks for WM1811

PATCH New Mark Brown 1 participant 1 message Dec 14, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 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.

---

This is essentially a bugfix for 3.2 - suspend is likely to not work well without it, it wasn't merged as part of the original patch set due to cross tree issues.

 drivers/mfd/wm8994-core.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mfd/wm8994-core.c +1 -0
index 93f8599..83a2a8c 100644
@@ -229,6 +229,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);
Signature · 1 line
1.7.7.3