]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf489cfa8adad99665dc3de09895c4897c5aba5b0
tree3d7a0df89e997041129e0d2a691b615e19fd53db
parent3417bead18e5d17fccf4bb93ff86270886799bf6
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