Skip to content
Commit 5b36398d authored by Nick Shipp's avatar Nick Shipp Committed by Andy Shevchenko
Browse files

platform/x86: system76-acpi: Fix brightness_set schedule while atomic



system76_set() was set as an LED ->brightness_set() callback, but it calls
acpi_evaluate_object() which is not atomic-safe. Switch to the
->brightness_set_blocking() LED callback instead.

Signed-off-by: default avatarNick Shipp <git@segbrk.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent eca6f176
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment