android_kernel_samsung_a7y1.../sound/pci
Takashi Iwai 089be5c112 ALSA: hda - Record the current power state before suspend/resume calls
commit 98081ca62cbac31fb0f7efaf90b2e7384ce22257 upstream.

Currently we deal with single codec and suspend codec callbacks for
all S3, S4 and runtime PM handling.  But it turned out that we want
distinguish the call patterns sometimes, e.g. for applying some init
sequence only at probing and restoring from hibernate.

This patch slightly modifies the common PM callbacks for HD-audio
codec and stores the currently processed PM event in power_state of
the codec's device.power field, which is currently unused.  The codec
callback can take a look at this event value and judges which purpose
it's being called.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-06 10:58:19 +02:00
..
ac97 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ali5451 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asihpi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
au88x0 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aw2 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ca0106 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs46xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs5535audio A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ctxfi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
echoaudio A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
emu10k1 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hda ALSA: hda - Record the current power state before suspend/resume calls 2020-04-06 10:58:19 +02:00
ice1712 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
korg1212 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lola A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lx6464es A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mixart A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nm256 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
oxygen A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcxhr A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
riptide A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rme9652 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trident A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vx222 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ymfpci A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad1889.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad1889.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ak4531_codec.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
als300.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
als4000.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atiixp_modem.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atiixp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
azt3328.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
azt3328.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bt87x.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cmipci.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs4281.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cs5530.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ens1370.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ens1371.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
es1938.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
es1968.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fm801.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
intel8x0.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
intel8x0m.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
maestro3.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rme32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rme96.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sis7019.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sis7019.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sonicvibes.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
via82xx_modem.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
via82xx.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30