Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f14312a9 authored by Enrico Weigelt's avatar Enrico Weigelt Committed by Andy Shevchenko
Browse files

platform/x86: pcengines-apuv2: use KEY_RESTART for front button



The keycode KEY_RESTART is more appropriate for the front button,
as most people use it for things like restart or factory reset.

Signed-off-by: default avatarEnrico Weigelt <info@metux.net>
Fixes: f8eb0235 ("x86: pcengines apuv2 gpio/leds/keys platform driver")
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 66013e8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ static struct gpiod_lookup_table gpios_led_table = {

static struct gpio_keys_button apu2_keys_buttons[] = {
	{
		.code			= KEY_SETUP,
		.code			= KEY_RESTART,
		.active_low		= 1,
		.desc			= "front button",
		.type			= EV_KEY,