ALSA: hda - Add snd_hda_multi_out_dig_cleanup()
authorTakashi Iwai <tiwai@suse.de>
Fri, 13 Feb 2009 10:32:28 +0000 (11:32 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 13 Feb 2009 10:59:13 +0000 (11:59 +0100)
commit9411e21cd0cc4fd046b4f448417b0e103e80951c
treec92e5ab2c3ff642b9cdeb9c5308c94ec98ecd74a
parent3a08e30de2facffe8e1a25bf4fa62cbc920fbaf6
ALSA: hda - Add snd_hda_multi_out_dig_cleanup()

Added the helper function snd_hda_multi_out_dig_cleanup() to clean up
the digital outputs with multi setup.  This call is needed in cases
the codec supports multiple digital outputs as slaves.  Otherwise the
slave widgets aren't properly cleaned up.

For a single digital output (e.g. in patch_conexant.c), this call isn't
needed.

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