Input, blackfin: ! has a higher priority than >
Subsystems (2)
PATCH 1/1 Input, blackfin: ! has a higher priority than >
! has a higher priority than >
Signed-off-by Roel Kluin <[email protected]>
---
drivers/input/keyboard/bf54x-keys.c +2 -2
@@ -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");bfin_write_KPAD_MSEL (0xFF0 );/* Default MSEL */
Quoted 14 lines
From: Roel Kluin [mailto:[email protected]]
! has a higher priority than >
Signed-off-by Roel Kluin <[email protected]>---
drivers/input/keyboard/bf54x-keys.c +0
-0
drivers/input/keyboard/bf54x-keys.c static int __devinit bfin_kpad_probe(struct · line 216
Quoted 10 lines
drivers/input/keyboard/bf54x-keys.c +2
-2@@ -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 1 line
bfin_write_KPAD_MSEL(0xFF0); /* Default MSEL */
Thanks,
Michael
Quoted 25 lines · Michael
Quoted 14 lines
From: Roel Kluin [mailto:[email protected]]
! has a higher priority than >
Signed-off-by Roel Kluin <[email protected]>---
drivers/input/keyboard/bf54x-keys.c +0
-0drivers/input/keyboard/bf54x-keys.c static int __devinit bfin_kpad_probe(struct · line 216
Quoted 10 lines
drivers/input/keyboard/bf54x-keys.c +2
-2@@ -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 frompdata\n");
Quoted 4 lines
Quoted 1 line
bfin_write_KPAD_MSEL(0xFF0); /* Default MSEL */
Applied to 'for-linus', thanks!
Signature · 1 line
Dmitry