usb: Prefer firmware values when determining whether a port is removable
authorMatthew Garrett <mjg59@coreos.com>
Wed, 8 Apr 2015 23:36:00 +0000 (16:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 May 2015 23:43:42 +0000 (01:43 +0200)
commit92bfbf71350b320f718a35446f017fbefd51d850
treecb8b45a2a6709a6ae481cd0c3d776a202acae57f
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
usb: Prefer firmware values when determining whether a port is removable

Windows appears to pay more attention to the ACPI values than any hub
configuration, so prefer the firmware's opinion on whether a port is
fixed or removable before falling back to the hub values.

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