提交 a19fc986 编写于 作者: J Jason Gerecke 提交者: Dmitry Torokhov

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

This case appears to have been missed in the original commit.
Signed-off-by: NJason Gerecke <killertofu@gmail.com>
Reviewed-by: NChris Bagwell <chris@cnpbagwell.com>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 6dc46351
...@@ -851,6 +851,7 @@ static int wacom_initialize_leds(struct wacom *wacom) ...@@ -851,6 +851,7 @@ static int wacom_initialize_leds(struct wacom *wacom)
/* Initialize default values */ /* Initialize default values */
switch (wacom->wacom_wac.features.type) { switch (wacom->wacom_wac.features.type) {
case INTUOS4S:
case INTUOS4: case INTUOS4:
case INTUOS4L: case INTUOS4L:
wacom->led.select[0] = 0; wacom->led.select[0] = 0;
...@@ -904,6 +905,7 @@ static int wacom_initialize_leds(struct wacom *wacom) ...@@ -904,6 +905,7 @@ static int wacom_initialize_leds(struct wacom *wacom)
static void wacom_destroy_leds(struct wacom *wacom) static void wacom_destroy_leds(struct wacom *wacom)
{ {
switch (wacom->wacom_wac.features.type) { switch (wacom->wacom_wac.features.type) {
case INTUOS4S:
case INTUOS4: case INTUOS4:
case INTUOS4L: case INTUOS4L:
sysfs_remove_group(&wacom->intf->dev.kobj, sysfs_remove_group(&wacom->intf->dev.kobj,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册