diff options
author | David Henningsson <david.henningsson@canonical.com> | 2013-01-15 14:27:19 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-15 14:32:46 (GMT) |
commit | f038fcaca827a2330d502a5d653ab639419f45db (patch) | |
tree | f2cd06d6de5e3322b74451a2049e972b4f511358 /sound/pci/hda | |
parent | 52fd5cbc9bef6a2e20bfbdae771498ef97c67b34 (diff) | |
download | linux-fsl-qoriq-f038fcaca827a2330d502a5d653ab639419f45db.tar.xz |
ALSA: hda - fix OOPS in hda_mark_cmd_cache_dirty
Obvious copy-paste error.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index b28e403..e6cdad7 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -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; } } |