summaryrefslogtreecommitdiff
path: root/sound/soc/msm/msm8226.c
diff options
context:
space:
mode:
authorPhani Kumar Uppalapati <phaniu@codeaurora.org>2013-09-13 15:27:10 -0700
committerPhani Kumar Uppalapati <phaniu@codeaurora.org>2013-09-26 12:51:45 -0700
commite1578a47d9434cbac1027c23a9e562d2c2903302 (patch)
tree7395127cd064cdf479192bda875bb5978f799817 /sound/soc/msm/msm8226.c
parent795c7f2e7d511bcf42eccc21b89a68a9686d031f (diff)
ASoC: msm: Parse headset jack type
Headset jack type can be either normally open or normally closed. Read the on-board headset jack type from device tree. CRs-fixed: 543701 Change-Id: I1d010d10fb50d5b0ca501bce647158b85492ca7e Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Diffstat (limited to 'sound/soc/msm/msm8226.c')
-rw-r--r--sound/soc/msm/msm8226.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/msm/msm8226.c b/sound/soc/msm/msm8226.c
index 4d3aa653ad1b..d24dc0078384 100644
--- a/sound/soc/msm/msm8226.c
+++ b/sound/soc/msm/msm8226.c
@@ -1960,7 +1960,7 @@ static int msm8226_asoc_machine_probe(struct platform_device *pdev)
mutex_init(&cdc_mclk_mutex);
mbhc_cfg.gpio_level_insert = of_property_read_bool(pdev->dev.of_node,
- "qcom,headset-jack-type-NO");
+ "qcom,headset-jack-type-NC");
ret = snd_soc_register_card(card);
if (ret) {