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

Commit f038fcac authored by David Henningsson's avatar David Henningsson Committed by Takashi Iwai
Browse files

ALSA: hda - fix OOPS in hda_mark_cmd_cache_dirty



Obvious copy-paste error.

Signed-off-by: default avatarDavid Henningsson <david.henningsson@canonical.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 52fd5cbc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3794,7 +3794,7 @@ static void hda_mark_cmd_cache_dirty(struct hda_codec *codec)
	}
	for (i = 0; i < codec->amp_cache.buf.used; i++) {
		struct hda_amp_info *amp;
		amp = snd_array_elem(&codec->cmd_cache.buf, i);
		amp = snd_array_elem(&codec->amp_cache.buf, i);
		amp->head.dirty = 1;
	}
}