]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 14:59:02 +0000 (06:59 -0800)
commit63b2afe91cef7d844ea07a1ad17be63ded94e8ca
treee77081ec85422034d825f1cc2ac61887434e97cc
parente32afc122e3a808944a9f7af5612bf2a3cbea89a
ALSA: hda - Release assigned pin/cvt at error path of hdmi_pcm_open()

commit 2ad779b7329d6894a80df94e693e72eaa0d56790 upstream.

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.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_hdmi.c