Revision 744c67ffeb06f2d2493f4049ba0bd19698ce0adf authored by Hui Wang on 19 March 2019, 01:28:43 UTC, committed by Takashi Iwai on 19 March 2019, 05:52:19 UTC
The commit 3baffc4a84d7 (ALSA: hda/intel: Refactoring PM code) changed
the behaviour of azx_resume(), it triggers the jackpoll_work after
applying this commit.

This change introduced a new issue, all codecs are runtime active
after S3, and will not call runtime_suspend() automatically.

The root cause is the jackpoll_work calls snd_hda_power_up/down_pm,
and it calls up_pm before snd_hdac_enter_pm is called, while calls
the down_pm in the middle of enter_pm and leave_pm is called. This
makes the dev->power.usage_count unbalanced after S3.

To fix it, let azx_resume() don't trigger jackpoll_work as before
it did.

Fixes: 3baffc4a84d7 ("ALSA: hda/intel: Refactoring PM code")
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent b4748e7
History
File Mode Size
i1480
Kconfig -rw-r--r-- 2.4 KB
Makefile -rw-r--r-- 483 bytes
address.c -rw-r--r-- 10.0 KB
allocator.c -rw-r--r-- 9.9 KB
beacon.c -rw-r--r-- 16.3 KB
driver.c -rw-r--r-- 4.0 KB
drp-avail.c -rw-r--r-- 8.6 KB
drp-ie.c -rw-r--r-- 9.5 KB
drp.c -rw-r--r-- 24.5 KB
est.c -rw-r--r-- 13.3 KB
hwa-rc.c -rw-r--r-- 28.3 KB
ie-rcv.c -rw-r--r-- 1.5 KB
ie.c -rw-r--r-- 9.6 KB
lc-dev.c -rw-r--r-- 12.4 KB
lc-rc.c -rw-r--r-- 13.4 KB
neh.c -rw-r--r-- 17.7 KB
pal.c -rw-r--r-- 3.2 KB
radio.c -rw-r--r-- 4.7 KB
reset.c -rw-r--r-- 11.0 KB
rsv.c -rw-r--r-- 27.3 KB
scan.c -rw-r--r-- 4.1 KB
umc-bus.c -rw-r--r-- 4.9 KB
umc-dev.c -rw-r--r-- 2.2 KB
umc-drv.c -rw-r--r-- 845 bytes
uwb-debug.c -rw-r--r-- 8.6 KB
uwb-internal.h -rw-r--r-- 11.1 KB
uwbd.c -rw-r--r-- 10.3 KB
whc-rc.c -rw-r--r-- 13.2 KB
whci.c -rw-r--r-- 6.3 KB

back to top