]> 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 13:38:33 +0000 (05:38 -0800)
commit41e19bdaf44badcb28e78d1845138abd7758c192
treeaba16dd74710437cac6c585561de8310dc2c0b35
parent45d13ae3c09ae43a21c5560ecf4818efc6a42d75
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