From 4f36692d101e6ec3243a2c1529fd8792a191f229 Mon Sep 17 00:00:00 2001 From: ffolkes Date: Wed, 30 Oct 2013 00:18:18 -0400 Subject: sound-soc: fix muted headset mic after button press this corrects a bug where after pressing the button on a headset the mic becomes muted. partial commit of "sound-soc: Sound platform and WM1811 changes" by SamsungOSRC Change-Id: I3593e7f0d19b4450d8a3ec55debaede4f80e01c0 --- arch/arm/mach-exynos/t0-sound.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/arm/mach-exynos/t0-sound.c b/arch/arm/mach-exynos/t0-sound.c index e6a64e4..d1d0f53 100644 --- a/arch/arm/mach-exynos/t0-sound.c +++ b/arch/arm/mach-exynos/t0-sound.c @@ -202,7 +202,7 @@ static struct wm8994_pdata wm1811_pdata = { .jd_ext_cap = 1, /* Regulated mode at highest output voltage */ - .micbias = {0x2f, 0x27}, + .micbias = {0x2f, 0x2b}, .micd_lvl_sel = 0xFF, @@ -377,9 +377,6 @@ static void t0_set_ext_main_mic(int on) /* Main Microphone BIAS */ gpio_set_value(GPIO_MIC_BIAS_EN, on); - if (on) - msleep(100); - pr_info("%s: main_mic bias on = %d\n", __func__, on); #endif } @@ -390,9 +387,6 @@ static void t0_set_ext_sub_mic(int on) /* Sub Microphone BIAS */ gpio_set_value(GPIO_SUB_MIC_BIAS_EN, on); - if (on) - msleep(100); - pr_info("%s: sub_mic bias on = %d\n", __func__, on); #endif } -- cgit v1.1