[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)
- 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

Simple merge
Simple merge