linux-bl808/drivers/platform/x86
Micha? K?pie? a608a9d52f platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks
All LED-setting functions in fujitsu-laptop are currently assigned to
the brightness_set callback, which is incorrect because they can sleep
(due to their use of call_fext_func(), which in turn issues ACPI calls)
and the documentation (in include/linux/leds.h) clearly states they must
not.  Assign them to brightness_set_blocking instead and change them to
match the expected function prototype.

This change makes it possible to use Fujitsu-specific LEDs with "heavy"
triggers, like disk-activity or phy0rx.

Fixes: 3a40708609 ("fujitsu-laptop: Add BL power, LED control and radio state information")
Fixes: 4f62568c1f ("fujitsu-laptop: Support radio LED")
Fixes: d6b88f64b0 ("fujitsu-laptop: Add support for eco LED")
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2016-12-28 12:38:10 +02:00
..
acer-wmi.c
acerhdf.c
alienware-wmi.c
amilo-rfkill.c
apple-gmux.c
asus-laptop.c
asus-nb-wmi.c
asus-wireless.c
asus-wmi.c
asus-wmi.h
classmate-laptop.c
compal-laptop.c
dell-laptop.c
dell-rbtn.c
dell-rbtn.h
dell-smbios.c
dell-smbios.h
dell-smo8800.c
dell-wmi-aio.c
dell-wmi.c
eeepc-laptop.c
eeepc-wmi.c
fujitsu-laptop.c platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks 2016-12-28 12:38:10 +02:00
fujitsu-tablet.c
hdaps.c
hp-wireless.c
hp-wmi.c
hp_accel.c
ibm_rtl.c
ideapad-laptop.c platform-drivers-x86 for 4.10-2 2016-12-18 15:45:33 -08:00
intel-hid.c
intel-rst.c
intel-smartconnect.c
intel-vbtn.c
intel_bxtwc_tmu.c platform/x86: Add Whiskey Cove PMIC TMU support 2016-12-18 14:56:37 -08:00
intel_ips.c
intel_ips.h
intel_menlow.c
intel_mid_powerbtn.c
intel_mid_thermal.c
intel_oaktrail.c
intel_pmc_core.c
intel_pmc_core.h
intel_pmc_ipc.c
intel_pmic_gpio.c
intel_punit_ipc.c
intel_scu_ipc.c
intel_scu_ipcutil.c
intel_telemetry_core.c
intel_telemetry_debugfs.c
intel_telemetry_pltdrv.c
Kconfig platform/x86: fix surface3_button build errors 2016-12-28 12:36:45 +02:00
Makefile platform/x86: Add Whiskey Cove PMIC TMU support 2016-12-18 14:56:37 -08:00
mlx-platform.c platform/x86: mlx-platform: Add mlxcpld-hotplug driver registration 2016-12-16 23:30:25 +02:00
mlxcpld-hotplug.c
msi-laptop.c
msi-wmi.c ktime: Cleanup ktime_set() usage 2016-12-25 17:21:22 +01:00
mxm-wmi.c
panasonic-laptop.c
pvpanic.c
samsung-laptop.c
samsung-q10.c
sony-laptop.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
surface3-wmi.c platform/x86: surface3-wmi: Balance locking on error path 2016-12-18 14:56:43 -08:00
surface3_button.c platform/x86: Introduce button support for the Surface 3 2016-12-16 23:30:26 +02:00
surfacepro3_button.c
tc1100-wmi.c
thinkpad_acpi.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
topstar-laptop.c
toshiba-wmi.c
toshiba_acpi.c
toshiba_bluetooth.c
toshiba_haps.c
wmi.c
xo1-rfkill.c
xo15-ebook.c