mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
[PATCH] fallout from hcd-core patch
missing le16_to_cpu() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
956295d50d
commit
c03efdb202
@ -1818,7 +1818,7 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf)
|
||||
int n, len, insize = 0;
|
||||
|
||||
/* Ignore all Wacom devices */
|
||||
if (dev->descriptor.idVendor == USB_VENDOR_ID_WACOM)
|
||||
if (le16_to_cpu(dev->descriptor.idVendor) == USB_VENDOR_ID_WACOM)
|
||||
return NULL;
|
||||
|
||||
for (n = 0; hid_blacklist[n].idVendor; n++)
|
||||
|
Loading…
Reference in New Issue
Block a user