Skip to content
Commit 9d2b48f7 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent c7e69ae6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment