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
ila
netfilter
Kconfig -rw-r--r-- 9.0 KB
Makefile -rw-r--r-- 2.0 KB
addrconf.c -rw-r--r-- 169.2 KB
addrconf_core.c -rw-r--r-- 7.0 KB
addrlabel.c -rw-r--r-- 14.4 KB
af_inet6.c -rw-r--r-- 27.2 KB
ah6.c -rw-r--r-- 18.5 KB
anycast.c -rw-r--r-- 13.0 KB
calipso.c -rw-r--r-- 38.5 KB
datagram.c -rw-r--r-- 24.9 KB
esp6.c -rw-r--r-- 22.0 KB
esp6_offload.c -rw-r--r-- 7.0 KB
exthdrs.c -rw-r--r-- 27.2 KB
exthdrs_core.c -rw-r--r-- 7.5 KB
exthdrs_offload.c -rw-r--r-- 936 bytes
fib6_notifier.c -rw-r--r-- 1.4 KB
fib6_rules.c -rw-r--r-- 11.8 KB
fou6.c -rw-r--r-- 4.9 KB
icmp.c -rw-r--r-- 26.3 KB
inet6_connection_sock.c -rw-r--r-- 4.3 KB
inet6_hashtables.c -rw-r--r-- 8.2 KB
ip6_checksum.c -rw-r--r-- 3.5 KB
ip6_fib.c -rw-r--r-- 56.4 KB
ip6_flowlabel.c -rw-r--r-- 19.3 KB
ip6_gre.c -rw-r--r-- 57.6 KB
ip6_icmp.c -rw-r--r-- 974 bytes
ip6_input.c -rw-r--r-- 13.3 KB
ip6_offload.c -rw-r--r-- 10.9 KB
ip6_offload.h -rw-r--r-- 524 bytes
ip6_output.c -rw-r--r-- 45.8 KB
ip6_tunnel.c -rw-r--r-- 56.8 KB
ip6_udp_tunnel.c -rw-r--r-- 2.9 KB
ip6_vti.c -rw-r--r-- 29.3 KB
ip6mr.c -rw-r--r-- 58.2 KB
ipcomp6.c -rw-r--r-- 5.5 KB
ipv6_sockglue.c -rw-r--r-- 30.4 KB
mcast.c -rw-r--r-- 71.6 KB
mcast_snoop.c -rw-r--r-- 5.5 KB
mip6.c -rw-r--r-- 13.0 KB
ndisc.c -rw-r--r-- 48.0 KB
netfilter.c -rw-r--r-- 3.3 KB
output_core.c -rw-r--r-- 4.3 KB
ping.c -rw-r--r-- 7.3 KB
proc.c -rw-r--r-- 10.5 KB
protocol.c -rw-r--r-- 2.1 KB
raw.c -rw-r--r-- 31.5 KB
reassembly.c -rw-r--r-- 17.5 KB
route.c -rw-r--r-- 133.1 KB
seg6.c -rw-r--r-- 9.8 KB
seg6_hmac.c -rw-r--r-- 9.8 KB
seg6_iptunnel.c -rw-r--r-- 11.6 KB
seg6_local.c -rw-r--r-- 23.1 KB
sit.c -rw-r--r-- 45.5 KB
syncookies.c -rw-r--r-- 7.3 KB
sysctl_net_ipv6.c -rw-r--r-- 7.9 KB
tcp_ipv6.c -rw-r--r-- 52.8 KB
tcpv6_offload.c -rw-r--r-- 2.1 KB
tunnel6.c -rw-r--r-- 4.9 KB
udp.c -rw-r--r-- 43.7 KB
udp_impl.h -rw-r--r-- 1.3 KB
udp_offload.c -rw-r--r-- 4.7 KB
udplite.c -rw-r--r-- 3.2 KB
xfrm6_input.c -rw-r--r-- 3.5 KB
xfrm6_mode_beet.c -rw-r--r-- 3.2 KB
xfrm6_mode_ro.c -rw-r--r-- 2.3 KB
xfrm6_mode_transport.c -rw-r--r-- 3.3 KB
xfrm6_mode_tunnel.c -rw-r--r-- 3.9 KB
xfrm6_output.c -rw-r--r-- 4.3 KB
xfrm6_policy.c -rw-r--r-- 9.7 KB
xfrm6_protocol.c -rw-r--r-- 6.5 KB
xfrm6_state.c -rw-r--r-- 4.6 KB
xfrm6_tunnel.c -rw-r--r-- 10.2 KB

back to top