summaryrefslogtreecommitdiff
path: root/sound/soc/msm
diff options
context:
space:
mode:
authorSimmi Pateriya <simmip@codeaurora.org>2013-11-15 07:41:06 +0530
committerYeleswarapu, Nagaradhesh <nagaradh@codeaurora.org>2013-11-17 11:18:52 +0530
commit7ced75d4079eb5544abad4a846e5f07501efd710 (patch)
treeafbc30e39791cb6194c07ec27781105a405e0e99 /sound/soc/msm
parent8512698b1ce96a3c02630b1b321da895db11e21d (diff)
ASoC: wcd9xxx: Make vddio usage configurable
Switching to VDDIO for DCE measurement can cause micbias to drop. If micbias is shared for handset and headset, this can result in pop noise in recorded data. Make this option configurable so that it can be disable if micbias is shared. CRs-Fixed: 562782 Change-Id: I77aa973583c482d5c0169774054627aed81d22cd Signed-off-by: Yeleswarapu, Nagaradhesh <nagaradh@codeaurora.org>
Diffstat (limited to 'sound/soc/msm')
-rw-r--r--sound/soc/msm/msm8226.c1
-rw-r--r--sound/soc/msm/msm8974.c1
-rw-r--r--sound/soc/msm/msm8x10.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/msm/msm8226.c b/sound/soc/msm/msm8226.c
index 263c043c87ec..5ecb2bb361d7 100644
--- a/sound/soc/msm/msm8226.c
+++ b/sound/soc/msm/msm8226.c
@@ -94,6 +94,7 @@ static struct wcd9xxx_mbhc_config mbhc_cfg = {
1 << MBHC_CS_ENABLE_INSERTION |
1 << MBHC_CS_ENABLE_REMOVAL),
.do_recalibration = true,
+ .use_vddio_meas = true,
};
struct msm_auxpcm_gpio {
diff --git a/sound/soc/msm/msm8974.c b/sound/soc/msm/msm8974.c
index 4240f8f61435..667ee807f862 100644
--- a/sound/soc/msm/msm8974.c
+++ b/sound/soc/msm/msm8974.c
@@ -129,6 +129,7 @@ static struct wcd9xxx_mbhc_config mbhc_cfg = {
1 << MBHC_CS_ENABLE_INSERTION |
1 << MBHC_CS_ENABLE_REMOVAL),
.do_recalibration = true,
+ .use_vddio_meas = true,
};
struct msm_auxpcm_gpio {
diff --git a/sound/soc/msm/msm8x10.c b/sound/soc/msm/msm8x10.c
index cfe4af7d074f..0d99f1a930eb 100644
--- a/sound/soc/msm/msm8x10.c
+++ b/sound/soc/msm/msm8x10.c
@@ -77,6 +77,7 @@ static struct wcd9xxx_mbhc_config mbhc_cfg = {
1 << MBHC_CS_ENABLE_INSERTION |
1 << MBHC_CS_ENABLE_REMOVAL),
.do_recalibration = false,
+ .use_vddio_meas = false,
};
/*