summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_soc_wm8753.c
diff options
context:
space:
mode:
authorShridhar Rasal <srasal@nvidia.com>2011-08-03 15:04:28 +0530
committerSimone Willett <swillett@nvidia.com>2011-08-04 15:40:29 -0700
commit650a7456e4f2764e4297969fb93ff3f43401ef4b (patch)
tree7fd184a478e8a572ade88593512c4d0ba044e99f /sound/soc/tegra/tegra_soc_wm8753.c
parent45ac4ca12af784230d0c5b882dc03a963fe33d12 (diff)
ASOC: tegra: Disable/Enable wired jack IRQtegra-10.11.13-rc1tegra-10.11.13
Disable/enable wired jack interrupts while going into suspend/resume. Bug 854830 Change-Id: Idfe6384258b464a65f4f1efca276c2b4ac7e86b0 Reviewed-on: http://git-master/r/44720 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_soc_wm8753.c')
-rw-r--r--sound/soc/tegra/tegra_soc_wm8753.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra_soc_wm8753.c b/sound/soc/tegra/tegra_soc_wm8753.c
index c661a62c2169..a17c70f98158 100644
--- a/sound/soc/tegra/tegra_soc_wm8753.c
+++ b/sound/soc/tegra/tegra_soc_wm8753.c
@@ -410,7 +410,7 @@ void tegra_codec_shutdown(struct snd_pcm_substream *substream)
int tegra_soc_suspend_pre(struct platform_device *pdev, pm_message_t state)
{
- tegra_jack_suspend();
+ disable_irq(gpio_to_irq(wm8753_jack->gpio));
return 0;
}
@@ -436,7 +436,7 @@ int tegra_soc_resume_pre(struct platform_device *pdev)
int tegra_soc_resume_post(struct platform_device *pdev)
{
- tegra_jack_resume();
+ enable_irq(gpio_to_irq(wm8753_jack->gpio));
return 0;
}