platform-drivers-x86 for v4.14-2
Newly discovered species of fujitsu laptops break some assumptions about ACPI device pairings. fujitsu-laptop: - Don't oops when FUJ02E3 is not presnt -----BEGIN PGP SIGNATURE----- iQEcBAABAgAGBQJZzv7uAAoJEKbMaAwKp364tqUH/iniXL3ZeObv+l0zK/QaPI0y TR9fEHm73/jtScVokoM79Py+G7c/xP9OEz4yHxD2kQphA+ah3Z4O6jtxDB2pMZlP W5JQrIwcuWgvh3xEMGSJ4gmvYU7vi5AKm9PGHEydwlQdhDPfIwQhVOqDNnpVIR4E dU3ydgLk9+nIRhgsfNJi2UyzrwDlKgtOXHX9l4EXP5tQbxxVw2ET3BFtoq2gUkBs u6/WV0FH9jkxb56Wn+Mr2vAy4M2X2Mxe+88vA8DvE8H1gzMPGxFIxP4/036o+2M0 +df4txjOVy5J4w+SuAcKAv7Kp3m50nnQh4LyKjvfWmnMKCCzkXobNbZwnxIWvKo= =tsgS -----END PGP SIGNATURE----- Merge tag 'platform-drivers-x86-v4.14-2' of git://git.infradead.org/linux-platform-drivers-x86 Pull x86 platform drivers fix from Darren Hart: "Newly discovered species of fujitsu laptops break some assumptions about ACPI device pairings. fujitsu-laptop: Don't oops when FUJ02E3 is not present" * tag 'platform-drivers-x86-v4.14-2' of git://git.infradead.org/linux-platform-drivers-x86: platform/x86: fujitsu-laptop: Don't oops when FUJ02E3 is not presnt
This commit is contained in:
commit
74d83ec2b7
|
@ -254,10 +254,12 @@ static int bl_update_status(struct backlight_device *b)
|
|||
{
|
||||
struct acpi_device *device = bl_get_data(b);
|
||||
|
||||
if (fext) {
|
||||
if (b->props.power == FB_BLANK_POWERDOWN)
|
||||
call_fext_func(fext, FUNC_BACKLIGHT, 0x1, 0x4, 0x3);
|
||||
else
|
||||
call_fext_func(fext, FUNC_BACKLIGHT, 0x1, 0x4, 0x0);
|
||||
}
|
||||
|
||||
return set_lcd_level(device, b->props.brightness);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user