]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: usbip: Notify usb core of port status changes
authorMax Vozeler <mvz@vozeler.com>
Tue, 21 Sep 2010 15:31:40 +0000 (17:31 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:43:28 +0000 (12:43 -0700)
commitffd428f2fff8a30e1202e09a73c5436cbc562d06
treecd7dd699d1f56fe10b7988965193b7da4be58d96
parent39666accd74d34684fd97f92c41ce8c26da93584
staging: usbip: Notify usb core of port status changes

commit 0c9a32f0192e656daa2ff3c9149f6d71b4a1b873 upstream.

This patch changes vhci to behave like dummy and
other hcds when disconnecting a device.

Previously detaching a device from the root hub
did not notify the usb core of the disconnect and
left the device visible.

Signed-off-by: Max Vozeler <mvz@vozeler.com>
Reported-by: Marco Lancione <marco@optikam.com>
Tested-by: Luc Jalbert <ljalbert@optikam.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/vhci_hcd.c