[PATCH] Input: wacom: Initialize and destroy LEDs for Intuos4 S tablets

Subsystems: input (keyboard, mouse, joystick, touchscreen) drivers, the rest

STALE5182d

2 messages, 2 authors, 2012-06-03 · open the first message on its own page

[PATCH] Input: wacom: Initialize and destroy LEDs for Intuos4 S tablets

From: Jason Gerecke <hidden>
Date: 2012-06-01 16:22:10

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

Signed-off-by: Jason Gerecke <redacted>
---
 drivers/input/tablet/wacom_sys.c |    2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c
index b3a8bd3..d82d92d 100644
--- a/drivers/input/tablet/wacom_sys.c
+++ b/drivers/input/tablet/wacom_sys.c
@@ -855,6 +855,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;
@@ -908,6 +909,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,
-- 
1.7.10.3

Re: [PATCH] Input: wacom: Initialize and destroy LEDs for Intuos4 S tablets

From: Chris Bagwell <hidden>
Date: 2012-06-03 21:46:20

Reviewed-by: Chris Bagwell <redacted>

On Fri, Jun 1, 2012 at 11:21 AM, Jason Gerecke [off-list ref] wrote:
quoted hunk
This case appears to have been missed in the original commit.

Signed-off-by: Jason Gerecke <redacted>
---
 drivers/input/tablet/wacom_sys.c |    2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c
index b3a8bd3..d82d92d 100644
--- a/drivers/input/tablet/wacom_sys.c
+++ b/drivers/input/tablet/wacom_sys.c
@@ -855,6 +855,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;
@@ -908,6 +909,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,
--
1.7.10.3

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help