diff options
author | Michał Kępień <kernel@kempniu.pl> | 2017-10-25 06:29:46 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-10-30 12:20:11 +0100 |
commit | c7b3e98e4d0ada6aeaa8cc37a7e9ab16e7b3a4fe (patch) | |
tree | 581cadf61591c6afb8f35e8b30dfec4547fc7d14 /scripts/gcc-plugins | |
parent | platform/x86: hp_accel: Add quirk for HP ProBook 440 G4 (diff) | |
download | linux-c7b3e98e4d0ada6aeaa8cc37a7e9ab16e7b3a4fe.tar.xz linux-c7b3e98e4d0ada6aeaa8cc37a7e9ab16e7b3a4fe.zip |
platform/x86: fujitsu-laptop: Fix radio LED detection
Radio LED detection method implemented in commit 4f62568c1fcf
("fujitsu-laptop: Support radio LED") turned out to be incorrect as it
causes a radio LED to be erroneously detected on a Fujitsu Lifebook E751
which has a slide switch (and thus no radio LED). Use bit 17 of
flags_supported (the value returned by method S000 of ACPI device
FUJ02E3) to determine whether a radio LED is present as it seems to be a
more reliable indicator, based on comparing DSDT tables of four Fujitsu
Lifebook models (E744, E751, S7110, S8420).
Fixes: 4f62568c1fcf ("fujitsu-laptop: Support radio LED")
Reported-by: Heinrich Siebmanns <harv@gmx.de>
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Tested-by: Heinrich Siebmanns <harv@gmx.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions