Commit d197dfc8 authored by Kailang Yang's avatar Kailang Yang Committed by Greg Kroah-Hartman

ALSA: hda/realtek - Add some fixes for ALC233

commit ea04a1db upstream.

Fill COEF to change EAPD to verb control.
Assigned codec type.

This is an additional fix over 92f974df ("ALSA: hda/realtek - New
vendor ID for ALC233").

[ More notes:
  according to Kailang, the chip is 10ec:0235 bonding for ALC233b,
  which is equivalent with ALC255.  It's only used for Lenovo.
  The chip needs no alc_process_coef_fw() for headset unlike ALC255. ]
Signed-off-by: default avatarKailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 69bd3f02
...@@ -329,6 +329,7 @@ static void alc_fill_eapd_coef(struct hda_codec *codec) ...@@ -329,6 +329,7 @@ static void alc_fill_eapd_coef(struct hda_codec *codec)
break; break;
case 0x10ec0225: case 0x10ec0225:
case 0x10ec0233: case 0x10ec0233:
case 0x10ec0235:
case 0x10ec0236: case 0x10ec0236:
case 0x10ec0255: case 0x10ec0255:
case 0x10ec0256: case 0x10ec0256:
...@@ -6359,6 +6360,7 @@ static int patch_alc269(struct hda_codec *codec) ...@@ -6359,6 +6360,7 @@ static int patch_alc269(struct hda_codec *codec)
case 0x10ec0298: case 0x10ec0298:
spec->codec_variant = ALC269_TYPE_ALC298; spec->codec_variant = ALC269_TYPE_ALC298;
break; break;
case 0x10ec0235:
case 0x10ec0255: case 0x10ec0255:
spec->codec_variant = ALC269_TYPE_ALC255; spec->codec_variant = ALC269_TYPE_ALC255;
break; break;
......
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