Commit d77a4b4a authored by Park Ju Hyung's avatar Park Ju Hyung Committed by Takashi Iwai

ALSA: hda - Turn CX8200 into D3 as well upon reboot

As an equivalent codec with CX20724,
CX8200 is also subject to the reboot bug.

Late 2017 and 2018 LG Gram and some HP Spectre laptops are known victims
to this issue, causing extremely loud noises upon reboot.

Now that we know that this bug is subject to multiple codecs,
fix the comment as well.
Signed-off-by: default avatarPark Ju Hyung <qkrwngud825@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 50e9ffb1
...@@ -211,6 +211,7 @@ static void cx_auto_reboot_notify(struct hda_codec *codec) ...@@ -211,6 +211,7 @@ static void cx_auto_reboot_notify(struct hda_codec *codec)
struct conexant_spec *spec = codec->spec; struct conexant_spec *spec = codec->spec;
switch (codec->core.vendor_id) { switch (codec->core.vendor_id) {
case 0x14f12008: /* CX8200 */
case 0x14f150f2: /* CX20722 */ case 0x14f150f2: /* CX20722 */
case 0x14f150f4: /* CX20724 */ case 0x14f150f4: /* CX20724 */
break; break;
...@@ -218,7 +219,7 @@ static void cx_auto_reboot_notify(struct hda_codec *codec) ...@@ -218,7 +219,7 @@ static void cx_auto_reboot_notify(struct hda_codec *codec)
return; return;
} }
/* Turn the CX20722 codec into D3 to avoid spurious noises /* Turn the problematic codec into D3 to avoid spurious noises
from the internal speaker during (and after) reboot */ from the internal speaker during (and after) reboot */
cx_auto_turn_eapd(codec, spec->num_eapds, spec->eapds, false); cx_auto_turn_eapd(codec, spec->num_eapds, spec->eapds, false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment