diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/serio/at32psif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/at32psif.c b/drivers/input/serio/at32psif.c index 50bdc00c49d..b54452a8c77 100644 --- a/drivers/input/serio/at32psif.c +++ b/drivers/input/serio/at32psif.c | |||
@@ -137,7 +137,7 @@ static int psif_write(struct serio *io, unsigned char val) | |||
137 | spin_lock_irqsave(&psif->lock, flags); | 137 | spin_lock_irqsave(&psif->lock, flags); |
138 | 138 | ||
139 | while (!(psif_readl(psif, SR) & PSIF_BIT(TXEMPTY)) && timeout--) | 139 | while (!(psif_readl(psif, SR) & PSIF_BIT(TXEMPTY)) && timeout--) |
140 | msleep(10); | 140 | udelay(50); |
141 | 141 | ||
142 | if (timeout >= 0) { | 142 | if (timeout >= 0) { |
143 | psif_writel(psif, THR, val); | 143 | psif_writel(psif, THR, val); |