[PATCH] handle EV_PWR in input_set_capability

DORMANTno replies

From: Dmitry Baryshkov <hidden>
Date: 2007-12-11 15:19:19
Also in: lkml

Handle EV_PWR type of input caps.

Signed-off-by: Dmitry Baryshkov <redacted>

Index: linux-test/drivers/input/input.c
===================================================================
--- linux-test.orig/drivers/input/input.c	2007-12-11 17:47:37.736228749 +0300
+++ linux-test/drivers/input/input.c	2007-12-11 17:47:52.620224309 +0300
@@ -1080,6 +1080,10 @@ void input_set_capability(struct input_d
 		__set_bit(code, dev->ffbit);
 		break;
 
+	case EV_PWR:
+		/* do nothing */
+		break;
+
 	default:
 		printk(KERN_ERR
 			"input_set_capability: unknown type %u (code %u)\n",
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help