aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-pxa/tosa.c36
-rw-r--r--drivers/input/keyboard/tosakbd.c2
2 files changed, 18 insertions, 20 deletions
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c
index 9ae2271f93c4..8bf947dcb2e8 100644
--- a/arch/arm/mach-pxa/tosa.c
+++ b/arch/arm/mach-pxa/tosa.c
@@ -130,24 +130,24 @@ static unsigned long tosa_pin_config[] = {
130 GPIO47_STUART_TXD, 130 GPIO47_STUART_TXD,
131 131
132 /* Keybd */ 132 /* Keybd */
133 GPIO58_GPIO, 133 GPIO58_GPIO | MFP_LPM_DRIVE_LOW,
134 GPIO59_GPIO, 134 GPIO59_GPIO | MFP_LPM_DRIVE_LOW,
135 GPIO60_GPIO, 135 GPIO60_GPIO | MFP_LPM_DRIVE_LOW,
136 GPIO61_GPIO, 136 GPIO61_GPIO | MFP_LPM_DRIVE_LOW,
137 GPIO62_GPIO, 137 GPIO62_GPIO | MFP_LPM_DRIVE_LOW,
138 GPIO63_GPIO, 138 GPIO63_GPIO | MFP_LPM_DRIVE_LOW,
139 GPIO64_GPIO, 139 GPIO64_GPIO | MFP_LPM_DRIVE_LOW,
140 GPIO65_GPIO, 140 GPIO65_GPIO | MFP_LPM_DRIVE_LOW,
141 GPIO66_GPIO, 141 GPIO66_GPIO | MFP_LPM_DRIVE_LOW,
142 GPIO67_GPIO, 142 GPIO67_GPIO | MFP_LPM_DRIVE_LOW,
143 GPIO68_GPIO, 143 GPIO68_GPIO | MFP_LPM_DRIVE_LOW,
144 GPIO69_GPIO, 144 GPIO69_GPIO | MFP_LPM_DRIVE_LOW,
145 GPIO70_GPIO, 145 GPIO70_GPIO | MFP_LPM_DRIVE_LOW,
146 GPIO71_GPIO, 146 GPIO71_GPIO | MFP_LPM_DRIVE_LOW,
147 GPIO72_GPIO, 147 GPIO72_GPIO | MFP_LPM_DRIVE_LOW,
148 GPIO73_GPIO, 148 GPIO73_GPIO | MFP_LPM_DRIVE_LOW,
149 GPIO74_GPIO, 149 GPIO74_GPIO | MFP_LPM_DRIVE_LOW,
150 GPIO75_GPIO, 150 GPIO75_GPIO | MFP_LPM_DRIVE_LOW,
151 151
152 /* SPI */ 152 /* SPI */
153 GPIO81_SSP2_CLK_OUT, 153 GPIO81_SSP2_CLK_OUT,
diff --git a/drivers/input/keyboard/tosakbd.c b/drivers/input/keyboard/tosakbd.c
index 94e444b4ee15..b12b7ee4b6aa 100644
--- a/drivers/input/keyboard/tosakbd.c
+++ b/drivers/input/keyboard/tosakbd.c
@@ -215,8 +215,6 @@ static int tosakbd_suspend(struct platform_device *dev, pm_message_t state)
215 unsigned long flags; 215 unsigned long flags;
216 216
217 spin_lock_irqsave(&tosakbd->lock, flags); 217 spin_lock_irqsave(&tosakbd->lock, flags);
218 PGSR1 = (PGSR1 & ~TOSA_GPIO_LOW_STROBE_BIT);
219 PGSR2 = (PGSR2 & ~TOSA_GPIO_HIGH_STROBE_BIT);
220 tosakbd->suspended = 1; 218 tosakbd->suspended = 1;
221 spin_unlock_irqrestore(&tosakbd->lock, flags); 219 spin_unlock_irqrestore(&tosakbd->lock, flags);
222 220