提交 b5488b6e 编写于 作者: M Mark Brown 提交者: Samuel Ortiz

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: NMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 26bc4e0c
...@@ -239,6 +239,7 @@ static int wm8994_suspend(struct device *dev) ...@@ -239,6 +239,7 @@ static int wm8994_suspend(struct device *dev)
switch (wm8994->type) { switch (wm8994->type) {
case WM8958: case WM8958:
case WM1811:
ret = wm8994_reg_read(wm8994, WM8958_MIC_DETECT_1); ret = wm8994_reg_read(wm8994, WM8958_MIC_DETECT_1);
if (ret < 0) { if (ret < 0) {
dev_err(dev, "Failed to read power status: %d\n", ret); dev_err(dev, "Failed to read power status: %d\n", ret);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册