]> git.karo-electronics.de Git - linux-beck.git/commit
Input: wacom - return proper error if usb_get_extra_descriptor() fails
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 2 May 2012 07:13:38 +0000 (00:13 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 2 May 2012 07:20:30 +0000 (00:20 -0700)
commita882c932a628cbab17752fc8b1c94692f95bbf9a
tree7429e1dc0f1c1cd036f7e75e1a412cb4380de672
parent0c9e300adec668fd323b0e79c85b9136fccab649
Input: wacom - return proper error if usb_get_extra_descriptor() fails

Instead of returning 1 (which is not even negative) let's capture and return
error codde returned by usb_get_extra_descriptor().

Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/wacom_sys.c