toshiba_acpi: Add support for USB Sleep and Music
authorAzael Avalos <coproscefalo@gmail.com>
Mon, 19 Jan 2015 01:30:25 +0000 (18:30 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 23 Jan 2015 17:08:26 +0000 (09:08 -0800)
commit172ce0a9f6bf4460fae74026014650cc4a90d37c
tree04618a3c399527cddf5139c1459be5583120f7ac
parentbb3fe01ff693cbc05d4d06edbe9ec868050a262c
toshiba_acpi: Add support for USB Sleep and Music

Newer Toshiba laptops now come with a feature called USB Sleep and
Music, where the laptop speakers remain powered and the line-in jack
is used to connect an external device to use the laptop speakers when
the computer is asleep or turned off.

This patchs adds support to such feature, by creating a sysfs entry
named "usb_sleep_music", accepting only two values, 0 to disable and
1 to enable.

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