android_kernel_xiaomi_sm8450/sound
Jack Pham 3f5c7e8ee9 sound: usb: qmi: Ensure device is fully active before enabling interface
There is a race condition in which XHCI is already in the middle
of being runtime resumed when receiving a QMI request.  In this case
the call to snd_usb_autoresume() within snd_usb_enable_audio_stream()
may end up returning prematurely even when the controller is still in
RPM_RESUMING state.  Add a pm_runtime_barrier() to ensure any ongoing
runtime PM routines are completed before proceeding.

Change-Id: I13ffeda44c25d0d20c7e699e0a502fe87839fedb
Signed-off-by: Jack Pham <quic_jackp@quicinc.com>
2022-02-10 00:14:34 -08:00
..
ac97 ALSA: ac97: fix PM reference leak in ac97_bus_remove() 2021-07-20 16:05:40 +02:00
aoa ALSA: aoa: i2sbus: use DECLARE_COMPLETION_ONSTACK() macro 2020-09-03 09:26:52 +02:00
arm BACKPORT: UPSTREAM: amba: Make the remove callback return void 2021-03-01 12:52:06 -08:00
atmel ALSA: atmel: ac97: clarify operator precedence 2020-09-03 09:27:34 +02:00
core Merge tag 'android12-5.10.81_r00' into android12-5.10 2022-01-21 09:35:04 +01:00
drivers ALSA: aloop: Fix initialization of controls 2021-04-14 08:41:56 +02:00
firewire Merge keystone/android12-5.10-keystone-qcom-release.66+ (3499d10) into msm-5.10 2021-10-28 12:35:06 +05:30
hda ALSA: hda: avoid write to STATESTS if controller is in reset 2021-10-27 09:56:55 +02:00
i2c
isa ALSA: sb: Fix potential ABBA deadlock in CSP driver 2021-07-28 14:35:42 +02:00
mips hal2: convert to dma_alloc_noncoherent 2020-09-25 06:20:44 +02:00
oss
parisc
pci Merge keystone/android12-5.10-keystone-qcom-release.81+ (495c24a) into msm-5.10 2022-01-24 14:15:34 +05:30
pcmcia
ppc ALSA: ppc: fix error return code in snd_pmac_probe() 2021-07-20 16:05:43 +02:00
sh
soc Merge keystone/android12-5.10-keystone-qcom-release.81+ (495c24a) into msm-5.10 2022-01-24 14:15:34 +05:30
sparc ALSA: sparc: dbri: fix repeated word 'the' 2020-10-17 09:58:35 +02:00
spi
synth ALSA: synth: missing check for possible NULL after the call to kstrdup 2021-11-18 14:03:40 +01:00
usb sound: usb: qmi: Ensure device is fully active before enabling interface 2022-02-10 00:14:34 -08:00
x86 ALSA: hda: use consistent HDAudio spelling in comments/docs 2020-09-02 19:31:32 +02:00
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c