diff options
author | Chandler Zhang <chazhang@nvidia.com> | 2012-02-27 13:58:33 +0800 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-02-28 21:04:14 -0800 |
commit | a9a927b516bf1c72ed8b256b295fe0990901abcd (patch) | |
tree | 3a6ccf215d8d3b56711707eafbb541fbc4a144bc /sound/soc/tegra | |
parent | d704606c727a8c3e14c66a5a5eb2c59afe327e8b (diff) |
asoc: tegra: ALC5640 machine: fix GPIO_EXT_MIC_EN
Invert the gpio output because GPIO_EXT_MIC_EN is active low.
Bug 937914
Change-Id: Ifeccda092d7834dfdd39e3d1df616bda7bf516bc
Reviewed-on: http://git-master/r/86038
Reviewed-by: Liangchuan Mi <lmi@nvidia.com>
Tested-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Kerwin Wan <kerwinw@nvidia.com>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r-- | sound/soc/tegra/tegra_rt5640.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c index 2f1cee297c6b..21264ebe4a1c 100644 --- a/sound/soc/tegra/tegra_rt5640.c +++ b/sound/soc/tegra/tegra_rt5640.c @@ -400,7 +400,7 @@ static int tegra_rt5640_event_ext_mic(struct snd_soc_dapm_widget *w, return 0; gpio_set_value_cansleep(pdata->gpio_ext_mic_en, - SND_SOC_DAPM_EVENT_ON(event)); + !SND_SOC_DAPM_EVENT_ON(event)); return 0; } |