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

Commit a19fc986 authored by Jason Gerecke's avatar Jason Gerecke Committed by Dmitry Torokhov
Browse files

Input: wacom - initialize and destroy LEDs for Intuos4 S tablets



This case appears to have been missed in the original commit.

Signed-off-by: default avatarJason Gerecke <killertofu@gmail.com>
Reviewed-by: default avatarChris Bagwell <chris@cnpbagwell.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 6dc46351
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -851,6 +851,7 @@ static int wacom_initialize_leds(struct wacom *wacom)

	/* Initialize default values */
	switch (wacom->wacom_wac.features.type) {
	case INTUOS4S:
	case INTUOS4:
	case INTUOS4L:
		wacom->led.select[0] = 0;
@@ -904,6 +905,7 @@ static int wacom_initialize_leds(struct wacom *wacom)
static void wacom_destroy_leds(struct wacom *wacom)
{
	switch (wacom->wacom_wac.features.type) {
	case INTUOS4S:
	case INTUOS4:
	case INTUOS4L:
		sysfs_remove_group(&wacom->intf->dev.kobj,