Skip to content

Commit

Permalink
mfd: Update wm8994 active device checks for WM1811
Browse files Browse the repository at this point in the history
This didn't go in as part of the original MFD patch for WM1811 due to
cross tree issues.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Dec 20, 2011
1 parent 26bc4e0 commit b5488b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/wm8994-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b5488b6

Please sign in to comment.