You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge 3.5-rc3 into usb-next
This lets us catch the USB fixes that went into 3.5-rc3 into this branch, as we want them here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -3379,7 +3379,7 @@ int usb_disable_lpm(struct usb_device *udev)
|
||||
return 0;
|
||||
|
||||
udev->lpm_disable_count++;
|
||||
if ((udev->u1_params.timeout == 0 && udev->u1_params.timeout == 0))
|
||||
if ((udev->u1_params.timeout == 0 && udev->u2_params.timeout == 0))
|
||||
return 0;
|
||||
|
||||
/* If LPM is enabled, attempt to disable it. */
|
||||
|
||||
@@ -1839,7 +1839,6 @@ free_interfaces:
|
||||
intfc = cp->intf_cache[i];
|
||||
intf->altsetting = intfc->altsetting;
|
||||
intf->num_altsetting = intfc->num_altsetting;
|
||||
intf->intf_assoc = find_iad(dev, cp, i);
|
||||
kref_get(&intfc->ref);
|
||||
|
||||
alt = usb_altnum_to_altsetting(intf, 0);
|
||||
@@ -1852,6 +1851,8 @@ free_interfaces:
|
||||
if (!alt)
|
||||
alt = &intf->altsetting[0];
|
||||
|
||||
intf->intf_assoc =
|
||||
find_iad(dev, cp, alt->desc.bInterfaceNumber);
|
||||
intf->cur_altsetting = alt;
|
||||
usb_enable_interface(dev, intf, true);
|
||||
intf->dev.parent = &dev->dev;
|
||||
|
||||
Reference in New Issue
Block a user