]> git.baikalelectronics.ru Git - kernel.git/commit
toshiba_acpi: Fix USB Sleep and Music always disabled
authorAzael Avalos <coproscefalo@gmail.com>
Wed, 9 Sep 2015 17:25:44 +0000 (11:25 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Thu, 10 Sep 2015 21:23:34 +0000 (14:23 -0700)
commit3d29d97c9ca29c449086e87e597121f126042951
treeb6d27ebdffcb1bf7cb460d28e0877cacff07144e
parentc7883f858c5ff3bac507984aca570d33c95a3121
toshiba_acpi: Fix USB Sleep and Music always disabled

Commit 93b95897363e ("toshiba_acpi: Refactor *{get, set} functions return
value") made changes on the return type of the HCI/SCI functions, but a
typo on the USB Sleep and Music code is always reporting non existent
support for such feature.

This patch corrects the typo, changing an assignment to a comparison,
making the laptops with actual support for such feature to work again.

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