From: Matthew Garrett Date: Fri, 11 May 2012 08:08:28 +0000 (+0800) Subject: usb: Set device removable state based on ACPI USB data X-Git-Tag: v3.5-rc1~149^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54d3f8c63d6940966217b807972778fb17c3fa82;p=pandora-kernel.git usb: Set device removable state based on ACPI USB data ACPI offers two methods that allow us to infer whether or not a USB port is removable. The _PLD method gives us information on whether the port is "user visible" or not. If that's not present then we can fall back to the _UPC method which tells us whether or not a port is connectable. Signed-off-by: Matthew Garrett Signed-off-by: Lan Tianyu Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed