Thread (3 messages) flat view 3 messages, 3 authors, 2009-01-30

Re: [PATCH] Input, blackfin: ! has a higher priority than >

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2009-01-30 07:10:49

On Thu, Jan 29, 2009 at 09:08:45AM -0000, Hennerich, Michael wrote:
quoted
From: Roel Kluin [mailto:roel.kluin@gmail.com]

! has a higher priority than >

Signed-off-by: Roel Kluin <redacted>
---
diff --git a/drivers/input/keyboard/bf54x-keys.c
b/drivers/input/keyboard/bf54x-keys.c
index 1928401..ee855c5 100644
--- a/drivers/input/keyboard/bf54x-keys.c
+++ b/drivers/input/keyboard/bf54x-keys.c
@@ -209,8 +209,8 @@ static int __devinit bfin_kpad_probe(struct
platform_device *pdev)
		goto out;
	}

-	if (!pdata->debounce_time || !pdata->debounce_time > MAX_MULT ||
-	    !pdata->coldrive_time || !pdata->coldrive_time > MAX_MULT) {
+	if (!pdata->debounce_time || pdata->debounce_time > MAX_MULT ||
+	    !pdata->coldrive_time || pdata->coldrive_time > MAX_MULT) {
		printk(KERN_ERR DRV_NAME
			": Invalid Debounce/Columdrive Time from
pdata\n");
quoted
		bfin_write_KPAD_MSEL(0xFF0);	/* Default MSEL	*/
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Applied to 'for-linus', thanks!

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