]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix wrong dirty check in snd_hda_codec_resume_amp()
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Dec 2012 11:54:18 +0000 (12:54 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:34:06 +0000 (08:34 +0100)
commit0aaa49cb2801a941aa3fa181a3b8980668e956c7
tree137f79d35c0eb4f5643d3333f12023c01acb8e85
parenta9199c0e43654cee134f85a1917ef88f2c440375
ALSA: hda - Fix wrong dirty check in snd_hda_codec_resume_amp()

The dirty entry has to be checked at the beginning in the loop, not in
the inner loop for channels.  This caused a regression that the right
channel isn't properly written.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c