Skip to contentSkip to conversation

PXA2xx keyboard driver fix

PATCH Applied Mike Rapoport 3 participants 3 messages Jul 9, 2007 – Jul 10, 2007 Input drivers

lore
Share & tools
lore
#0 lore raw

The PXA2xx keyboard driver does not compile with 2.6.22 The following patch fixes it

 drivers/input/keyboard/pxa27x_keyboard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/keyboard/pxa27x_keyboard.c +1 -1
index f9e82c9..ebe5eac 100644
@@ -140,7 +140,7 @@ static int pxakbd_resume(struct platform_device *pdev)
 		KPREC = pdata->reg_kprec;
 
 		/* Enable unit clock */
-		pxa_set_cken(CKEN19_KEYPAD, 1);
+		pxa_set_cken(CKEN_KEYPAD, 1);
 	}
 
 	mutex_unlock(&input_dev->mutex);
#1 lore raw
Quoted 15 lines · Mike Rapoport

The PXA2xx keyboard driver does not compile with 2.6.22 The following patch fixes it

 drivers/input/keyboard/pxa27x_keyboard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/keyboard/pxa27x_keyboard.c +0 -0
index f9e82c9..ebe5eac 100644

drivers/input/keyboard/pxa27x_keyboard.c static int pxakbd_resume(struct platform_device *pdev) · line 146

Quoted 8 lines
drivers/input/keyboard/pxa27x_keyboard.c +1 -1
@@ -140,7 +140,7 @@ static int pxakbd_resume(struct platform_device *pdev)
 		KPREC = pdata->reg_kprec;
 
 		/* Enable unit clock */
-		pxa_set_cken(CKEN19_KEYPAD, 1);
+		pxa_set_cken(CKEN_KEYPAD, 1);
 	}
 
 	mutex_unlock(&input_dev->mutex);
#2 lore raw
Quoted 7 lines · Rodolfo Giometti
Quoted 6 lines · Mike Rapoport

The PXA2xx keyboard driver does not compile with 2.6.22 The following patch fixes it

Applied, thank you.

Signature · 1 line
Dmitry