]> err.no Git - linux-2.6/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)
commit4e195a7b78618c89b06547f3140e67a69ec23272
treec371937f6d62e7b6c316ba9507906258b0454d10
parent35aec4e2affb99d52b4b744ddb09767eb6e05580
[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