diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-05-02 03:13:38 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-05-02 03:20:30 -0400 |
commit | a882c932a628cbab17752fc8b1c94692f95bbf9a (patch) | |
tree | 7429e1dc0f1c1cd036f7e75e1a412cb4380de672 /drivers/input/keyboard/twl4030_keypad.c | |
parent | 0c9e300adec668fd323b0e79c85b9136fccab649 (diff) |
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>
Diffstat (limited to 'drivers/input/keyboard/twl4030_keypad.c')
0 files changed, 0 insertions, 0 deletions