From: Mark Brown Date: Fri, 4 Nov 2011 23:14:46 +0000 (+0000) Subject: mfd: Update wm8994 active device checks for WM1811 X-Git-Tag: upstream/snapshot3+hdmi~8519^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5488b6e868454fb10d23278de5038cda98b13ab;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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: Mark Brown Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c index 5d6ba13..61894fc 100644 --- a/drivers/mfd/wm8994-core.c +++ b/drivers/mfd/wm8994-core.c @@ -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);