Home
last modified time | relevance | path

Searched hist:"5 b36398d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/x86/
H A Dsystem76_acpi.c5b36398d Thu Jul 09 14:32:32 CDT 2020 Nick Shipp <git@segbrk.com> 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: Nick Shipp <git@segbrk.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
5b36398d Thu Jul 09 14:32:32 CDT 2020 Nick Shipp <git@segbrk.com> 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: Nick Shipp <git@segbrk.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>