]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda - Let all conexant codec enter D3 when rebooting
authorHui Wang <hui.wang@canonical.com>
Wed, 14 Aug 2019 04:09:07 +0000 (12:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:47:48 +0000 (10:47 +0200)
commit9585f4440cecaf1b1a513d1515adfb11d865bd03
treee03dc2660714cd95ced2d8337db0be4a358227f6
parente58ba88d6c60fe10a1ec996c394c29a08f0cb2c8
ALSA: hda - Let all conexant codec enter D3 when rebooting

commit 401714d9534aad8c24196b32600da683116bbe09 upstream.

We have 3 new lenovo laptops which have conexant codec 0x14f11f86,
these 3 laptops also have the noise issue when rebooting, after
letting the codec enter D3 before rebooting or poweroff, the noise
disappers.

Instead of adding a new ID again in the reboot_notify(), let us make
this function apply to all conexant codec. In theory make codec enter
D3 before rebooting or poweroff is harmless, and I tested this change
on a couple of other Lenovo laptops which have different conexant
codecs, there is no side effect so far.

Cc: stable@vger.kernel.org
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_conexant.c