]> git.baikalelectronics.ru Git - kernel.git/commit
usb: Use hub port data to determine whether a port is removable
authorMatthew Garrett <mjg@redhat.com>
Fri, 3 Feb 2012 22:11:55 +0000 (17:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 16:40:11 +0000 (08:40 -0800)
commit6ac943cc48030705fedb3894df0805255138daa2
tree0bbfc34982200c98ed9191dab8c5efc93029aaf6
parent41d243cc5799f798d88c43f00ad82342a9cb3941
usb: Use hub port data to determine whether a port is removable

Hubs have a flag to indicate whether a given port carries removable devices
or not. This is not strictly accurate in that some built-in devices
will be flagged as removable, but followup patches will make use of platform
data to make this more reliable.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c