Skip to content
Commit 7dddf2ae authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix wrong arguments for path deactivation checks



The arguments to call is_active_nid() in activate_amp() were swapped,
and this resulted in the muted amp on some SPDIF output pins.

Also, the index to be passed to is_active_nid() must be idx_to_check.
Otherwise it checks the wrong connection in the case of implicit aamix
connection paths.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 5397145f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment