diff options
author | Sumit Bhattacharya <sumitb@nvidia.com> | 2011-12-07 17:15:53 +0530 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-15 11:47:25 +0530 |
commit | c37dac584d6f0af1dc2b3c941b103bd81d11bd91 (patch) | |
tree | a08a338eb0a0a62df30d33225da0787c57e90e91 /sound/sound_firmware.c | |
parent | 2ba736d71d0903d86290fe00505aacc18065d3cf (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/sound_firmware.c')
0 files changed, 0 insertions, 0 deletions