]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: idmouse.c: Put the interface on error
authorJunjie Mao <junjie.mao@enight.me>
Mon, 22 Feb 2016 02:48:45 +0000 (10:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Mar 2016 03:44:06 +0000 (19:44 -0800)
commit0b41d35058468cb9cab3f856b3446a68416213e4
treec98e027ce054be3fee9fda71266e3ca4ba7c5269
parent0d5ce778c43bf888328231bcdce05d5c860655aa
USB: idmouse.c: Put the interface on error

usb_autopm_put_interface() should be called regardless of what
idmouse_create_image() returns.

Signed-off-by: Junjie Mao <junjie.mao@enight.me>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/idmouse.c