]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix wrong arguments for path deactivation checks
authorTakashi Iwai <tiwai@suse.de>
Thu, 24 Jan 2013 15:31:35 +0000 (16:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Jan 2013 15:31:35 +0000 (16:31 +0100)
commit8f76f914d960ba53a45f67c0074974f9c967aa8d
tree211262a992b3d10e112c0884eaf46ff963c70baf
parentf079d96773b902d2a94d7d5439bdc427311bcfa5
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: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c