ALSA: hda - Check the activity of the NID to be powered down
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 May 2013 10:58:47 +0000 (12:58 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 May 2013 05:18:05 +0000 (07:18 +0200)
commitb1b9fbd0507aac4ddce14f513d52332f50be89dc
treeba4c2850727eb85cf6342ec7ce8d584a66ff7c53
parenta62ee234a572b4c98fe98cf5fb18e4e8b0f6e43d
ALSA: hda - Check the activity of the NID to be powered down

When an inactive path is powered down with spec->power_down_unused
flag, we should check the activity of each widget in the path whether
it's still referred from any active path.

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