]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
USB: fix interface unregistration logic
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 30 Jul 2008 15:31:50 +0000 (11:31 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 14 Aug 2008 00:32:50 +0000 (17:32 -0700)
commit1a21175a615ed346e8043f5e9d60a672266b84b4
tree9f0a4305c335d06feada41e7ab0697f9509e843d
parent0282b7f2a874e72c18fcd5a112ccf67f71ba7f5c
USB: fix interface unregistration logic

This patch (as1122) fixes a bug: When an interface is unregistered,
its children (sysfs files and endpoint devices) are unregistered after
it instead of before.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Kay Sievers <kay.sievers@vrfy.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/message.c