ALSA: hda/realtek - Turn on power early
authorYuchi Yang <yangyuchi66@gmail.com>
Fri, 30 Dec 2022 07:22:25 +0000 (15:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:48:47 +0000 (11:48 +0100)
commitb983c9a9714e6ee29098563a82a90774f9db12d5
treef9530b70a88bba236817ddfdf580e6db9d7363d8
parent9ab3696881ca096939db8bfabdc98d0808bafdb2
ALSA: hda/realtek - Turn on power early

commit 1f680609bf1beac20e2a31ddcb1b88874123c39f upstream.

Turn on power early to avoid wrong state for power relation register.
This can earlier update JD state when resume back.

Signed-off-by: Yuchi Yang <yangyuchi66@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/e35d8f4fa18f4448a2315cc7d4a3715f@realtek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c