diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/usbtouchscreen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/usbtouchscreen.c b/drivers/input/touchscreen/usbtouchscreen.c index 796b837deeea..13fbda0895b5 100644 --- a/drivers/input/touchscreen/usbtouchscreen.c +++ b/drivers/input/touchscreen/usbtouchscreen.c | |||
@@ -402,7 +402,8 @@ static int dmc_tsc10_init(struct usbtouch_usb *usbtouch) | |||
402 | TSC10_RATE_150, 0, buf, 2, USB_CTRL_SET_TIMEOUT); | 402 | TSC10_RATE_150, 0, buf, 2, USB_CTRL_SET_TIMEOUT); |
403 | if (ret < 0) | 403 | if (ret < 0) |
404 | return ret; | 404 | return ret; |
405 | if (buf[0] != 0x06 || buf[1] != 0x00) | 405 | if ((buf[0] != 0x06 || buf[1] != 0x00) && |
406 | (buf[0] != 0x15 || buf[1] != 0x01)) | ||
406 | return -ENODEV; | 407 | return -ENODEV; |
407 | 408 | ||
408 | /* start sending data */ | 409 | /* start sending data */ |