Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72576
b: refs/heads/master
c: 439a903
h: refs/heads/master
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Oct 25, 2007
1 parent 2fc1927 commit 0e7cc15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b22817b3c81cdb18ffe3d2debfee968731a8b5f4
refs/heads/master: 439a903a9663c0caa8094f3907ca60069d6c36e7
8 changes: 7 additions & 1 deletion trunk/drivers/usb/core/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -1641,7 +1641,13 @@ int usb_set_configuration(struct usb_device *dev, int configuration)
intf->dev.bus_id, ret);
continue;
}
usb_create_sysfs_intf_files (intf);

/* The driver's probe method can call usb_set_interface(),
* which would mean the interface's sysfs files are already
* created. Just in case, we'll remove them first.
*/
usb_remove_sysfs_intf_files(intf);
usb_create_sysfs_intf_files(intf);
}

usb_autosuspend_device(dev);
Expand Down

0 comments on commit 0e7cc15

Please sign in to comment.