commit | 9d2b48f7304aafaefbf0794a556ab4e307929d24 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon Aug 24 10:45:27 2015 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Aug 25 07:59:01 2015 +0200 |
tree | bffaab88a4322ed233d1cde0b56152bf995b8522 | |
parent | c7e69ae6b4ff49edf50180c0a32f3dd9d7967e31 [diff] |
ALSA: hda - Check all inputs for is_active_nid_for_any() The is_active_nid_for_any() function in the generic parser is supposed to check all connections from/to the given widget, but the current code checks only the first input connection (index = 0). This patch corrects the code to check all inputs by passing -1 to index argument. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=102521 Cc: <stable@vger.kernel.org> [v4.1+] Signed-off-by: Takashi Iwai <tiwai@suse.de>