diff options
| author | Phani Kumar Uppalapati <phaniu@codeaurora.org> | 2016-02-26 17:56:43 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-25 16:02:34 -0700 |
| commit | 07ceb38173c00cc36d74500ed1742a8daf2d66a0 (patch) | |
| tree | 2c9428d8540fb7a7c38569ebb96589166a1187d5 /include/linux | |
| parent | 4aaf0c05a5b197420168e1499363a0f178c163d2 (diff) | |
ASoC: wcd-mbhc: Avoid fake headset report during headphone remove
When headphone is removed while 3 second polling is still in progress,
mbhc hs comparator result will be read as "0" and this causes reporting
a fake headset insert event to user-space followed by headphone removal.
Avoid sending this fake headset insert event to user-space by checking
for the microphone clamp bit from codec mbhc hardware.
CRs-fixed: 941089
Change-Id: I96d96dca92a6c99bbb25ab70a2706e730c28818b
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
