Commit cb2e2a36 authored by Alan Stern's avatar Alan Stern Committed by Greg Kroah-Hartman

[PATCH] USB: Altsetting update for USB misc drivers

This is the altsetting update for the drivers under usb/misc.  As you can,
not much was needed at all.
parent 01a665f6
...@@ -704,7 +704,7 @@ static int tower_probe (struct usb_interface *interface, const struct usb_device ...@@ -704,7 +704,7 @@ static int tower_probe (struct usb_interface *interface, const struct usb_device
dev->interrupt_out_urb = NULL; dev->interrupt_out_urb = NULL;
iface_desc = &interface->altsetting[0]; iface_desc = interface->cur_altsetting;
/* set up the endpoint information */ /* set up the endpoint information */
for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
......
...@@ -553,7 +553,7 @@ static int uss720_probe(struct usb_interface *intf, ...@@ -553,7 +553,7 @@ static int uss720_probe(struct usb_interface *intf,
i = usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 2); i = usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 2);
printk(KERN_DEBUG "uss720: set inteface result %d\n", i); printk(KERN_DEBUG "uss720: set inteface result %d\n", i);
interface = &intf->altsetting[2]; interface = intf->cur_altsetting;
/* /*
* Allocate parport interface * Allocate parport interface
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment