diff options
author | Azael Avalos <coproscefalo@gmail.com> | 2015-01-19 05:17:12 +0300 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-01-29 08:55:01 +0300 |
commit | fa465739d4dad4c04715f1e8f1416d86b5b71b64 (patch) | |
tree | 8f2f80cbd833b4d9b4126f4903d9ec593cbfe063 /drivers/hsi | |
parent | ed52ccbce7ffdde51f116e2cc9de00251f1ff7c5 (diff) | |
download | linux-fa465739d4dad4c04715f1e8f1416d86b5b71b64.tar.xz |
toshiba_acpi: Add a check for TOS_NOT_SUPPORTED in the sci_open function
This was "toshiba_acpi: Change sci_open function return value"
Some Toshiba laptops have "poorly implemented" SCI calls on their
BIOSes and are not checking for sci_{open, close} calls, therefore,
the sci_open function is failing and making some of the supported
features unavailable (kbd backlight, touchpad, illumination, etc.).
This patch checks whether we receive TOS_NOT_SUPPORTED and returns
1, making the supported features work on such laptops.
In the case that some laptops really do not support the SCI, all the
SCI dependent functions check for TOS_NOT_SUPPORTED, and thus, not
registering support for the queried feature.
Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions