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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue