diff options
-rw-r--r-- | drivers/input/keyboard/samsung-keypad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/keyboard/samsung-keypad.c b/drivers/input/keyboard/samsung-keypad.c index b746fce2d120..395b3af9f73e 100644 --- a/drivers/input/keyboard/samsung-keypad.c +++ b/drivers/input/keyboard/samsung-keypad.c | |||
@@ -178,7 +178,7 @@ static irqreturn_t samsung_keypad_irq(int irq, void *dev_id) | |||
178 | 178 | ||
179 | } while (key_down && !keypad->stopped); | 179 | } while (key_down && !keypad->stopped); |
180 | 180 | ||
181 | pm_runtime_put_sync(&keypad->pdev->dev); | 181 | pm_runtime_put(&keypad->pdev->dev); |
182 | 182 | ||
183 | return IRQ_HANDLED; | 183 | return IRQ_HANDLED; |
184 | } | 184 | } |
@@ -202,7 +202,7 @@ static void samsung_keypad_start(struct samsung_keypad *keypad) | |||
202 | /* KEYIFCOL reg clear. */ | 202 | /* KEYIFCOL reg clear. */ |
203 | writel(0, keypad->base + SAMSUNG_KEYIFCOL); | 203 | writel(0, keypad->base + SAMSUNG_KEYIFCOL); |
204 | 204 | ||
205 | pm_runtime_put_sync(&keypad->pdev->dev); | 205 | pm_runtime_put(&keypad->pdev->dev); |
206 | } | 206 | } |
207 | 207 | ||
208 | static void samsung_keypad_stop(struct samsung_keypad *keypad) | 208 | static void samsung_keypad_stop(struct samsung_keypad *keypad) |
@@ -232,7 +232,7 @@ static void samsung_keypad_stop(struct samsung_keypad *keypad) | |||
232 | */ | 232 | */ |
233 | enable_irq(keypad->irq); | 233 | enable_irq(keypad->irq); |
234 | 234 | ||
235 | pm_runtime_put_sync(&keypad->pdev->dev); | 235 | pm_runtime_put(&keypad->pdev->dev); |
236 | } | 236 | } |
237 | 237 | ||
238 | static int samsung_keypad_open(struct input_dev *input_dev) | 238 | static int samsung_keypad_open(struct input_dev *input_dev) |