aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorffolkes <ffolkes@ffolkes.com>2013-10-30 00:18:18 -0400
committerslickrick <rsalinas1@mail.usf.edu>2013-12-14 09:23:18 -0800
commit4f36692d101e6ec3243a2c1529fd8792a191f229 (patch)
treebca7b5912db0200316c370cf4d77910fce23fb47
parentf48a2082edfcc0cf24b09aa7ccadbb3f5e66b68f (diff)
downloadkernel_samsung_smdk4412-4f36692d101e6ec3243a2c1529fd8792a191f229.zip
kernel_samsung_smdk4412-4f36692d101e6ec3243a2c1529fd8792a191f229.tar.gz
kernel_samsung_smdk4412-4f36692d101e6ec3243a2c1529fd8792a191f229.tar.bz2
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
-rw-r--r--arch/arm/mach-exynos/t0-sound.c8
1 files changed, 1 insertions, 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
}