ARM: S3C64XX: Use IN4 DC measurement mode on Tobermory
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 24 Jan 2012 21:09:15 +0000 (21:09 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 27 Jan 2012 11:23:31 +0000 (11:23 +0000)
The WM8962 on Tobermory has one of the IN4 inputs connected for DC
measurement. Tell the driver it can optimise for this mode.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/mach-crag6410-module.c

index cd3c97e2ee75045afb4a855f7adf03066bca478b..32a30f38ba0ce65d243a7d3f6cbeaa70bf08dbec 100644 (file)
@@ -102,6 +102,7 @@ static struct wm8962_pdata wm8962_pdata __initdata = {
                0x8000 | WM8962_GPIO_FN_DMICDAT,
                WM8962_GPIO_FN_IRQ,    /* Open drain mode */
        },
+       .in4_dc_measure = true,
 };
 
 static struct wm9081_pdata wm9081_pdata __initdata = {