ALSA: hda - Clear the dropped paths properly
authorTakashi Iwai <tiwai@suse.de>
Wed, 9 Jan 2013 08:28:20 +0000 (09:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:44:23 +0000 (08:44 +0100)
commit980428cecc4ca767bd9dd61fc286cd4124fd34af
treebe0551dd98256ee9f008629bb87596402722c21d
parentf3fc0b0b1fe31e0ec9a72ab85b421e74c696f00d
ALSA: hda - Clear the dropped paths properly

When a DAC is reassigned from surrounds to front or ADCs are reduced
due to incomplete imux, we clear the path indices but the path
instances remain as is.  Since the paths might be still referred
through the whole path list parsing (e.g. is_active_nid()), we should
clear these path instances as well.

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