usb_autopm_put_interface() should be called regardless of what idmouse_create_image() returns. Signed-off-by: Junjie Mao <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>