diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-05-02 07:13:38 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-05-02 07:20:30 (GMT) |
commit | a882c932a628cbab17752fc8b1c94692f95bbf9a (patch) | |
tree | 7429e1dc0f1c1cd036f7e75e1a412cb4380de672 /drivers/input/tablet/wacom_wac.c | |
parent | 0c9e300adec668fd323b0e79c85b9136fccab649 (diff) | |
download | linux-fsl-qoriq-a882c932a628cbab17752fc8b1c94692f95bbf9a.tar.xz |
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/tablet/wacom_wac.c')
0 files changed, 0 insertions, 0 deletions