diff options
Diffstat (limited to 'drivers/gpio/gpio-omap.c')
-rw-r--r-- | drivers/gpio/gpio-omap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index 03ee9c6..d91a5aa 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers/gpio/gpio-omap.c @@ -593,9 +593,9 @@ static void omap_gpio_free(struct gpio_chip *chip, unsigned offset) * disable the bank module. */ if (!bank->mod_usage) { - if (pm_runtime_put_sync(bank->dev) < 0) { + if (pm_runtime_put_sync_suspend(bank->dev)) { dev_err(bank->dev, "%s: GPIO bank %d " - "pm_runtime_put_sync failed\n", + "pm_runtime_put_sync_suspend failed\n", __func__, bank->id); } } |