3b14c6f914
Currently the sound driver uses qmi workqueues for any qmi request sequences to execute, however while doing fast disconnect/connect there is a possbility that the worker thread race between each other which might lead to a scenario where in between the connect sequence the disconnect might interfere and the endpoint might get freed. This might lead to a null pointer deferences in the process used by the hcd. Fix this by making use of the chip-s usage_count to serialize these processes. The disconnect in card drvier will wait for the usage_count to be decreased to 0 in order to execute the disconnect sequences which woudl make sure that the connect runs completely before disconnect. Change-Id: I2a996a5bd6a451fdffdd3d09ba62770e3779f3f4 Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com> Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> |
||
---|---|---|
.. | ||
ac97 | ||
aoa | ||
arm | ||
atmel | ||
core | ||
drivers | ||
firewire | ||
hda | ||
i2c | ||
isa | ||
mips | ||
oss | ||
parisc | ||
pci | ||
pcmcia | ||
ppc | ||
sh | ||
soc | ||
sparc | ||
spi | ||
synth | ||
usb | ||
virtio | ||
x86 | ||
xen | ||
ac97_bus.c | ||
Kconfig | ||
last.c | ||
Makefile | ||
sound_core.c |