]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
usb: Set unused ports to "fixed" rather than "unknown"
authorMatthew Garrett <mjg59@coreos.com>
Wed, 8 Apr 2015 23:36:01 +0000 (16:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 May 2015 23:43:43 +0000 (01:43 +0200)
commit58339c2e8b6181e6ffb2ef0dccc4d010b8acd013
tree9abe5aac63d0067431a98c54a8ef6518cbe4426d
parent92bfbf71350b320f718a35446f017fbefd51d850
usb: Set unused ports to "fixed" rather than "unknown"

The Microsoft document "Using ACPI to Configure USB Ports on a Computer"
makes it clear that the removable flag will be cleared on ports that are
marked as unused by the firmware. Handle this case to match.

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