]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hda - Release assigned pin/cvt at error path of hdmi_pcm_open()
authorTakashi Iwai <tiwai@suse.de>
Fri, 1 Feb 2013 13:01:27 +0000 (14:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 1 Feb 2013 13:01:27 +0000 (14:01 +0100)
commit2ad779b7329d6894a80df94e693e72eaa0d56790
tree53265003a7b9fcb2ab611aa8145eb5b28c14351a
parent4a7c516bf0cd697dbbee11db6258e3b3146e41a6
ALSA: hda - Release assigned pin/cvt at error path of hdmi_pcm_open()

If the driver detects and invalid ELD, it gives an open error.
But it forgot to release the assigned pin, converter and spdif ctls
before returning.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c