[ALSA] Fix/add support of Realtek ALC883 / ALC888 and ALC861 codecs
Patch from Realtek: - Fix ALC883 support code - Add support of ALC888 codec - Add ALC660 support (ALC861-compatible) - Add HP xw4400/6400/8400/9400 support (model=hp-bpc) - Code clean-up: fix spaces and indentation Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:

committed by
Jaroslav Kysela

parent
8c42d5bafa
commit
9c7f852e8b
@@ -408,7 +408,9 @@ static const struct hda_codec_preset *find_codec_preset(struct hda_codec *codec)
|
||||
u32 mask = preset->mask;
|
||||
if (! mask)
|
||||
mask = ~0;
|
||||
if (preset->id == (codec->vendor_id & mask))
|
||||
if (preset->id == (codec->vendor_id & mask) &&
|
||||
(! preset->rev ||
|
||||
preset->rev == codec->revision_id))
|
||||
return preset;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user