Merge 4.12-rc2 into usb-next
We want the USB fixes in here as well to handle testing and merge issues. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -192,7 +192,7 @@ static int chaoskey_probe(struct usb_interface *interface,
|
||||
|
||||
dev->in_ep = in_ep;
|
||||
|
||||
if (udev->descriptor.idVendor != ALEA_VENDOR_ID)
|
||||
if (le16_to_cpu(udev->descriptor.idVendor) != ALEA_VENDOR_ID)
|
||||
dev->reads_started = 1;
|
||||
|
||||
dev->size = size;
|
||||
|
@@ -549,7 +549,7 @@ static long iowarrior_ioctl(struct file *file, unsigned int cmd,
|
||||
info.revision = le16_to_cpu(dev->udev->descriptor.bcdDevice);
|
||||
|
||||
/* 0==UNKNOWN, 1==LOW(usb1.1) ,2=FULL(usb1.1), 3=HIGH(usb2.0) */
|
||||
info.speed = le16_to_cpu(dev->udev->speed);
|
||||
info.speed = dev->udev->speed;
|
||||
info.if_num = dev->interface->cur_altsetting->desc.bInterfaceNumber;
|
||||
info.report_size = dev->report_size;
|
||||
|
||||
|
@@ -926,6 +926,7 @@ static int tower_probe (struct usb_interface *interface, const struct usb_device
|
||||
USB_MAJOR, dev->minor);
|
||||
|
||||
exit:
|
||||
kfree(get_version_reply);
|
||||
return retval;
|
||||
|
||||
error:
|
||||
|
@@ -973,7 +973,7 @@ sisusbcon_set_origin(struct vc_data *c)
|
||||
|
||||
mutex_unlock(&sisusb->lock);
|
||||
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Interface routine */
|
||||
|
Reference in New Issue
Block a user