mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08: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);
|
codec->chip_name, fix->type);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!fix[id].chained)
|
if (!fix->chained)
|
||||||
break;
|
break;
|
||||||
if (++depth > 10)
|
if (++depth > 10)
|
||||||
break;
|
break;
|
||||||
id = fix[id].chain_id;
|
id = fix->chain_id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user