Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+6 -4
+6 -4
drivers/platform/x86/fujitsu-laptop.c
··· 254 254 { 255 255 struct acpi_device *device = bl_get_data(b); 256 256 257 - if (b->props.power == FB_BLANK_POWERDOWN) 258 - call_fext_func(fext, FUNC_BACKLIGHT, 0x1, 0x4, 0x3); 259 - else 260 - call_fext_func(fext, FUNC_BACKLIGHT, 0x1, 0x4, 0x0); 257 + if (fext) { 258 + if (b->props.power == FB_BLANK_POWERDOWN) 259 + call_fext_func(fext, FUNC_BACKLIGHT, 0x1, 0x4, 0x3); 260 + else 261 + call_fext_func(fext, FUNC_BACKLIGHT, 0x1, 0x4, 0x0); 262 + } 261 263 262 264 return set_lcd_level(device, b->props.brightness); 263 265 }