Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2354
b: refs/heads/master
c: d4a7537
h: refs/heads/master
v: v3
  • Loading branch information
mochel@digitalimplant.org authored and Greg Kroah-Hartman committed Jun 20, 2005
1 parent e0c36b2 commit e7f84b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365
refs/heads/master: d4a7537122fa47a6ce41c5fdab53d844c78d7023
4 changes: 2 additions & 2 deletions trunk/drivers/usb/core/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ int usb_driver_claim_interface(struct usb_driver *driver,
/* if interface was already added, bind now; else let
* the future device_add() bind it, bypassing probe()
*/
if (!list_empty (&dev->bus_list))
if (!klist_node_attached (&dev->knode_bus))
device_bind_driver(dev);

return 0;
Expand Down Expand Up @@ -323,7 +323,7 @@ void usb_driver_release_interface(struct usb_driver *driver,
return;

/* don't disconnect from disconnect(), or before dev_add() */
if (!list_empty (&dev->driver_list) && !list_empty (&dev->bus_list))
if (!klist_node_attached(&dev->knode_driver) && !klist_node_attached(&dev->knode_bus))
device_release_driver(dev);

dev->driver = NULL;
Expand Down

0 comments on commit e7f84b8

Please sign in to comment.