Skip to contentSkip to conversation

fallout from hcd-core patch

PATCH New Al Viro 1 participant 1 message Sep 23, 2006 USB

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 fallout from hcd-core patch

missing le16_to_cpu()

---
 drivers/usb/input/hid-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/input/hid-core.c +1 -1
index a2c56b2..3305fb6 100644
@@ -1818,7 +1818,7 @@ static struct hid_device *usb_hid_config
 	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++)
Signature · 1 line
1.4.2.GIT