]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] Fix noisy output with shared channel mode with hd-audio
authorTakashi Iwai <tiwai@suse.de>
Fri, 28 Jul 2006 12:47:34 +0000 (14:47 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:39:32 +0000 (10:39 +0200)
commit049a0f2d35ada9dab3e0fa7ed8299b0d08be54f7
treec371937f6d62e7b6c316ba9507906258b0454d10
parent0e7330b19fa572d9860d90690bc1e2d970cdc7aa
[ALSA] Fix noisy output with shared channel mode with hd-audio

- Fix the wrong initialization of num_dacs when changing the channel
  mode between 2 and multi-channel modes.  It must be evaluated
  after calling snd_hda_ch_mode_put()
- Added the similar check of num_dacs fix in Realtek code.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_realtek.c