toshiba_acpi: Add support for USB Rapid Charge
authorAzael Avalos <coproscefalo@gmail.com>
Mon, 19 Jan 2015 01:30:24 +0000 (18:30 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 23 Jan 2015 17:08:25 +0000 (09:08 -0800)
commitbb3fe01ff693cbc05d4d06edbe9ec868050a262c
tree3d7a0df89e997041129e0d2a691b615e19fd53db
parent182bcaa5c90a66429fcf00a6a02a7bf845bf27c5
toshiba_acpi: Add support for USB Rapid Charge

Newer Toshiba laptops equipped with USB 3.0 ports now have the
functionality of rapid charging devices connected to their USB hubs.

This patch adds support to use such feature by creating a sysfs entry
named "usb_rapid_charge", accepting only two values, 0 to disable and
1 to enable, however, the machine needs a restart everytime the
function 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