ALSA: hda - Clean up ALC299 init code
ALC299 is compatible with ALC225/295, thus it doesn't have to assign its own model. Merge together with ALC225/295 code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Родитель
7ad3423ebb
Коммит
c1350bff69
|
@ -6923,12 +6923,9 @@ static int patch_alc269(struct hda_codec *codec)
|
||||||
break;
|
break;
|
||||||
case 0x10ec0225:
|
case 0x10ec0225:
|
||||||
case 0x10ec0295:
|
case 0x10ec0295:
|
||||||
spec->codec_variant = ALC269_TYPE_ALC225;
|
|
||||||
spec->gen.mixer_nid = 0; /* no loopback on ALC225 ALC295 */
|
|
||||||
break;
|
|
||||||
case 0x10ec0299:
|
case 0x10ec0299:
|
||||||
spec->codec_variant = ALC269_TYPE_ALC225;
|
spec->codec_variant = ALC269_TYPE_ALC225;
|
||||||
spec->gen.mixer_nid = 0; /* no loopback on ALC299 */
|
spec->gen.mixer_nid = 0; /* no loopback on ALC225, ALC295 and ALC299 */
|
||||||
break;
|
break;
|
||||||
case 0x10ec0234:
|
case 0x10ec0234:
|
||||||
case 0x10ec0274:
|
case 0x10ec0274:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче