Skip to contentSkip to conversation

Input: wacom: Initialize and destroy LEDs for Intuos4 S tablets

PATCH In review Jason Gerecke 2 participants 2 messages Jun 1, 2012 – Jun 3, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Input: wacom: Initialize and destroy LEDs for Intuos4 S tablets

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

---
 drivers/input/tablet/wacom_sys.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/input/tablet/wacom_sys.c +2 -0
index b3a8bd3..d82d92d 100644
@@ -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,
Signature · 1 line
1.7.10.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 30 lines · Jason Gerecke

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

---
 drivers/input/tablet/wacom_sys.c |    2 ++

 1 file changed, 2 insertions(+)
drivers/input/tablet/wacom_sys.c +1 -0
index b3a8bd3..d82d92d 100644
@@ -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;

drivers/input/tablet/wacom_sys.c +1 -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

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html