From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH (sound-unstable)] ALSA: hda - fix OOPS in hda_mark_cmd_cache_dirty Date: Tue, 15 Jan 2013 15:33:29 +0100 Message-ID: References: <1358260039-25827-1-git-send-email-david.henningsson@canonical.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id C7BF4261643 for ; Tue, 15 Jan 2013 15:33:29 +0100 (CET) In-Reply-To: <1358260039-25827-1-git-send-email-david.henningsson@canonical.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: David Henningsson Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 15 Jan 2013 15:27:19 +0100, David Henningsson wrote: > > Obvious copy-paste error. > > Signed-off-by: David Henningsson 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 >