toshiba_acpi: Add support to enable/disable USB 3
authorAzael Avalos <coproscefalo@gmail.com>
Wed, 11 Feb 2015 04:09:20 +0000 (21:09 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Thu, 12 Feb 2015 04:40:48 +0000 (20:40 -0800)
commit17fe4b3d31e6b1d3afd40a34849fa353d0ca5616
tree0c4a5ade07711e952b54d84f59fa04da527e95d1
parent35d53ceaf7160fa1950142757420ba96921034bf
toshiba_acpi: Add support to enable/disable USB 3

Toshiba laptops that come with USB 3 ports have a feature that lets
them disable USB 3 functionality and act as a regular USB 2 port, and
thus, saving power.

This patch adds support to that feature, by creating a sysfs entry
named "usb_three", acceptig only two parameters, 0 to disable the
USB 3 (acting as a USB 2) and 1 to enable it, however, a reboot is
needed everytime this is toggled.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c