]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: fix pm counter leak in usblp
authorOliver Neukum <oliver@neukum.org>
Fri, 22 Feb 2008 00:35:05 +0000 (00:35 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Feb 2008 00:19:00 +0000 (16:19 -0800)
commit8b0ccb03f068cf8561efd51e88cbdf3f345163b9
tree92777aa297ef9180604e611da76ed7b4c9e8699f
parent365b073075ef23cfdd8ba68720e7de3b4dbe4f1b
USB: fix pm counter leak in usblp

commit 1902869019918411c148c18cc3a22aade569ac9a upstream

if you fail in open() you must decrement the pm counter again.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/usblp.c