summaryrefslogtreecommitdiff
path: root/sound/ac97_bus.c
diff options
context:
space:
mode:
authorSumit Bhattacharya <sumitb@nvidia.com>2011-12-07 17:15:53 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2011-12-15 11:47:25 +0530
commitc37dac584d6f0af1dc2b3c941b103bd81d11bd91 (patch)
treea08a338eb0a0a62df30d33225da0787c57e90e91 /sound/ac97_bus.c
parent2ba736d71d0903d86290fe00505aacc18065d3cf (diff)
ASoC: WM8903: Disable irq before suspend
When codec enters suspend mic bias gets turned off. As a result if a mic is already plugged in a mic removal event gets triggered. Once codec driver gets mic removal interrupt it sleeps for the duration of debounce time which causes kernel power manager to abort suspend. To avoid this scenario disable mic detect IRQ before powering off codec and enable the same during resume. Change-Id: Ic3c90d73c9f2742b6771f7e3fe0e3fb1f59e1cd9 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/68662 Reviewed-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'sound/ac97_bus.c')
0 files changed, 0 insertions, 0 deletions