linux_dsm_epyc7002/sound/pci
Hui Wang 9a6418487b ALSA: hda: call runtime_allow() for all hda controllers
Before the pci_driver->probe() is called, the pci subsystem calls
runtime_forbid() and runtime_get_sync() on this pci dev, so only call
runtime_put_autosuspend() is not enough to enable the runtime_pm on
this device.

For controllers with vgaswitcheroo feature, the pci/quirks.c will call
runtime_allow() for this dev, then the controllers could enter
rt_idle/suspend/resume, but for non-vgaswitcheroo controllers like
Intel hda controllers, the runtime_pm is not enabled because the
runtime_allow() is not called.

Since it is no harm calling runtime_allow() twice, here let hda
driver call runtime_allow() for all controllers. Then the runtime_pm
is enabled on all controllers after the put_autosuspend() is called.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://lore.kernel.org/r/20200414142725.6020-1-hui.wang@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-04-14 17:15:07 +02:00
..
ac97
ali5451 ALSA: ali5451: remove redundant variable capture_flag 2020-02-10 08:29:54 +01:00
asihpi
au88x0
aw2
ca0106
cs46xx
cs5535audio
ctxfi ALSA: ctxfi: Remove unnecessary cast in kfree 2020-04-09 14:07:34 +02:00
echoaudio
emu10k1 ALSA: emu10k1: Fix endianness annotations 2020-02-10 08:25:45 +01:00
hda ALSA: hda: call runtime_allow() for all hda controllers 2020-04-14 17:15:07 +02:00
ice1712 ALSA: ice1724: Fix invalid access for enumerated ctl items 2020-04-07 16:43:46 +02:00
korg1212 ALSA: korg1212: fix if-statement empty body warnings 2020-03-06 09:00:33 +01:00
lola
lx6464es
mixart
nm256
oxygen
pcxhr
riptide
rme9652 ALSA: hdsp: remove redundant assignment to variable err 2020-02-10 08:29:26 +01:00
trident
vx222
ymfpci
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp_modem.c
atiixp.c
azt3328.c
azt3328.h
bt87x.c
cmipci.c
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c
fm801.c
intel8x0.c
intel8x0m.c
Kconfig
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx_modem.c ALSA: via82xx: Fix endianness annotations 2020-02-10 08:25:07 +01:00
via82xx.c ALSA: via82xx: Fix endianness annotations 2020-02-10 08:25:07 +01:00