Input: wacom - properly enable runtime PM
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 10 Oct 2010 21:24:16 +0000 (14:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 Oct 2010 04:20:46 +0000 (21:20 -0700)
We need to always call usb_autopm_put_interface() in wacom_open(),
not only when initialization fails, otherwise the device will be
marked as PM-busy and will never be put in suspended state.

Based on patch by Oliver Neukum.

Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found