Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24af2b1c authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent ebb47241
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}
}