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
File | Mode | Size |
---|---|---|
BUGS-parport | -rw-r--r-- | 319 bytes |
Kconfig | -rw-r--r-- | 5.5 KB |
Makefile | -rw-r--r-- | 728 bytes |
TODO-parport | -rw-r--r-- | 594 bytes |
daisy.c | -rw-r--r-- | 12.3 KB |
ieee1284.c | -rw-r--r-- | 22.4 KB |
ieee1284_ops.c | -rw-r--r-- | 23.3 KB |
multiface.h | -rw-r--r-- | 426 bytes |
parport_amiga.c | -rw-r--r-- | 6.3 KB |
parport_atari.c | -rw-r--r-- | 5.3 KB |
parport_ax88796.c | -rw-r--r-- | 9.2 KB |
parport_cs.c | -rw-r--r-- | 5.5 KB |
parport_gsc.c | -rw-r--r-- | 11.1 KB |
parport_gsc.h | -rw-r--r-- | 6.1 KB |
parport_ip32.c | -rw-r--r-- | 67.0 KB |
parport_mfc3.c | -rw-r--r-- | 9.9 KB |
parport_pc.c | -rw-r--r-- | 85.7 KB |
parport_serial.c | -rw-r--r-- | 19.8 KB |
parport_sunbpp.c | -rw-r--r-- | 9.3 KB |
probe.c | -rw-r--r-- | 7.4 KB |
procfs.c | -rw-r--r-- | 12.7 KB |
share.c | -rw-r--r-- | 36.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...