]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
mfd: Correct readability of WM8994 DC servo 4E register
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 29 Feb 2012 15:37:59 +0000 (15:37 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 1 Mar 2012 00:42:52 +0000 (01:42 +0100)
It should be marked as readable but wasn't, breaking DC servo operation.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8994-regmap.c

index c598ae69b8ff052584c94e75b44db9f07ea8d694..bc0c5096539a5bdbd874ef99babdd60dbf17a0c0 100644 (file)
@@ -806,6 +806,7 @@ static bool wm1811_readable_register(struct device *dev, unsigned int reg)
        case WM8994_DC_SERVO_2:
        case WM8994_DC_SERVO_READBACK:
        case WM8994_DC_SERVO_4:
+       case WM8994_DC_SERVO_4E:
        case WM8994_ANALOGUE_HP_1:
        case WM8958_MIC_DETECT_1:
        case WM8958_MIC_DETECT_2: