* [PATCH (sound-unstable)] ALSA: hda - fix OOPS in hda_mark_cmd_cache_dirty
@ 2013-01-15 14:27 David Henningsson
2013-01-15 14:33 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: David Henningsson @ 2013-01-15 14:27 UTC (permalink / raw)
To: tiwai, alsa-devel; +Cc: David Henningsson
Obvious copy-paste error.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
---
sound/pci/hda/hda_codec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH (sound-unstable)] ALSA: hda - fix OOPS in hda_mark_cmd_cache_dirty
2013-01-15 14:27 [PATCH (sound-unstable)] ALSA: hda - fix OOPS in hda_mark_cmd_cache_dirty David Henningsson
@ 2013-01-15 14:33 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2013-01-15 14:33 UTC (permalink / raw)
To: David Henningsson; +Cc: alsa-devel
At Tue, 15 Jan 2013 15:27:19 +0100,
David Henningsson wrote:
>
> Obvious copy-paste error.
>
> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Thanks, applied now.
Takashi
> ---
> sound/pci/hda/hda_codec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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;
> }
> }
> --
> 1.7.9.5
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-15 14:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-15 14:27 [PATCH (sound-unstable)] ALSA: hda - fix OOPS in hda_mark_cmd_cache_dirty David Henningsson
2013-01-15 14:33 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox