[PATCH] ARM: S3C64XX: Use IN4 DC measurement mode on Tobermory
Mark Brown
broonie at opensource.wolfsonmicro.com
Tue Jan 24 16:19:24 EST 2012
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 at opensource.wolfsonmicro.com>
---
This feature is going to be merged via ASoC in 3.4 - is it OK if I apply
this patch to the ASoC tree too? It's a one liner, I'd be astonished if
it were to generate any conflicts.
arch/arm/mach-s3c64xx/mach-crag6410-module.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
index 509307d..317f866 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410-module.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
@@ -128,6 +128,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 = {
--
1.7.9.rc1
More information about the linux-arm-kernel
mailing list