]> Pileus Git - ~andy/linux/commitdiff
ARM: S3C64XX: Slow down mic detection rate for wm5102
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 11 Mar 2013 01:31:45 +0000 (10:31 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 4 Apr 2013 06:17:14 +0000 (15:17 +0900)
A slightly slower rate provides more reliable jack detection during
slower insertions.

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

index bf3d1c09b085ffb48161e306896c3c94c52994ed..a946b759fabd762e930109a9103329ae26428121 100644 (file)
@@ -210,6 +210,7 @@ static struct arizona_pdata wm5102_reva_pdata = {
        .gpio_base = CODEC_GPIO_BASE,
        .irq_active_high = true,
        .micd_pol_gpio = CODEC_GPIO_BASE + 4,
+       .micd_rate = 6,
        .gpio_defaults = {
                [2] = 0x10000, /* AIF3TXLRCLK */
                [3] = 0x4,     /* OPCLK */