linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] handle EV_PWR in input_set_capability
@ 2007-12-11 15:18 Dmitry Baryshkov
  0 siblings, 0 replies; only message in thread
From: Dmitry Baryshkov @ 2007-12-11 15:18 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov, linux-kernel

Handle EV_PWR type of input caps.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>

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",

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-11 15:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-11 15:18 [PATCH] handle EV_PWR in input_set_capability Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).