android_kernel_oneplus_msm8998/sound
Phani Kumar Uppalapati 07ceb38173 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>
2016-03-25 16:02:34 -07:00
..
aoa
arm ASoC: pxa: pxa-pcm-lib: switch over to snd-soc-dmaengine-pcm 2015-09-30 23:21:16 +01:00
atmel
core Merge remote-tracking branch 'lsk-44/linux-linaro-lsk-v4.4' into 44rc2 2016-03-23 20:51:00 -07:00
drivers ALSA: dummy: Implement timer backend switching more safely 2016-02-17 12:31:00 -08:00
firewire ALSA: bebob: Use a signed return type for get_formation_index 2016-02-17 12:30:58 -08:00
hda ALSA: hda - Add / fix kernel doc comments 2015-10-28 12:37:29 +01:00
i2c
isa ALSA: Add missing dependency on CONFIG_SND_TIMER 2016-02-17 12:30:58 -08:00
mips
oss
parisc
pci ALSA: hda - Cancel probe work instead of flush at remove 2016-02-25 12:01:13 -08:00
pcmcia
ppc
sh
soc ASoC: wcd-mbhc: Avoid fake headset report during headphone remove 2016-03-25 16:02:34 -07:00
sparc ALSA: Add missing dependency on CONFIG_SND_TIMER 2016-02-17 12:30:58 -08:00
spi
synth ALSA: synth: Fix conflicting OSS device registration on AWE32 2015-10-05 16:55:09 +02:00
usb Merge remote-tracking branch 'lsk-44/linux-linaro-lsk-v4.4' into 44rc2 2016-03-23 20:51:00 -07:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c sound: fix check for error condition of register_chrdev() 2015-11-07 11:14:30 +01:00
sound_firmware.c