mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
ALSA: hda - Fix Realtek's chained fixup checks
The check of chained fixup list entry was done against the wrong element. A stupid mistake during refactoring. Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
ebb47241ea
commit
24af2b1cc4
@ -1704,11 +1704,11 @@ static void alc_apply_fixup(struct hda_codec *codec, int action)
|
||||
codec->chip_name, fix->type);
|
||||
break;
|
||||
}
|
||||
if (!fix[id].chained)
|
||||
if (!fix->chained)
|
||||
break;
|
||||
if (++depth > 10)
|
||||
break;
|
||||
id = fix[id].chain_id;
|
||||
id = fix->chain_id;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user