Thread (6 messages) 6 messages, 3 authors, 2008-05-29

Re: [PATCH] pxa: Fix some issues with pxa27x_keypad driver v2

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2008-05-28 14:31:30

Hi Antonio,

On Wed, May 28, 2008 at 04:25:39PM +0200, Antonio Ospite wrote:
 
-	input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP) |
-		BIT_MASK(EV_REL);
+	input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP);
+	if (keypad->pdata->rotary0_rel_code || keypad->pdata->rotary1_rel_code)
+		input_dev->evbit[0] |= BIT_MASK(EV_REL);
Shouldn't this also check pdata->enable_rotaryX?

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help