summaryrefslogtreecommitdiff
path: root/drivers/input/tablet
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2012-06-12 11:27:53 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-06-12 11:40:20 +0400
commita19fc98685ad0b5bccc38ca17acb50a92915ec51 (patch)
treec2edee4d2507b571062dc44823378706f879b42a /drivers/input/tablet
parent6dc463511d4a690f01a9248df3b384db717e0b1c (diff)
downloadlinux-a19fc98685ad0b5bccc38ca17acb50a92915ec51.tar.xz
Input: wacom - initialize and destroy LEDs for Intuos4 S tablets
This case appears to have been missed in the original commit. Signed-off-by: Jason Gerecke <killertofu@gmail.com> Reviewed-by: Chris Bagwell <chris@cnpbagwell.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet')
-rw-r--r--drivers/input/tablet/wacom_sys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c
index a48fcb76bb83..a5d1c60e77ee 100644
--- a/drivers/input/tablet/wacom_sys.c
+++ b/drivers/input/tablet/wacom_sys.c
@@ -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,