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

Commit e3deda9c authored by Corentin Chary's avatar Corentin Chary Committed by Len Brown
Browse files

asus-laptop: Fix the led behavior with value > 1

parent 5d1e072b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -351,7 +351,7 @@ static void write_status(acpi_handle handle, int out, int mask)
	static void object##_led_set(struct led_classdev *led_cdev,	\
				     enum led_brightness value)		\
	{								\
		object##_led_wk = value;				\
		object##_led_wk = (value > 0) ? 1 : 0;			\
		queue_work(led_workqueue, &object##_led_work);		\
	}								\
	static void object##_led_update(struct work_struct *ignored)	\