projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e9df2
)
gpio-lynxpoint: Fix warning about unbalanced pm_runtime_enable
author
Mathias Nyman
<mathias.nyman@linux.intel.com>
Mon, 12 Aug 2013 11:05:41 +0000
(14:05 +0300)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 16 Aug 2013 15:11:33 +0000
(17:11 +0200)
Missing pm_runtime_disable call in driver remove path caused
an unbalanaced pm_runtime_enable warning when driver was reloaded
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lynxpoint.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-lynxpoint.c
b/drivers/gpio/gpio-lynxpoint.c
index
761c470
..
2d9ca60
100644
(file)
--- a/
drivers/gpio/gpio-lynxpoint.c
+++ b/
drivers/gpio/gpio-lynxpoint.c
@@
-444,6
+444,7
@@
static int lp_gpio_remove(struct platform_device *pdev)
{
struct lp_gpio *lg = platform_get_drvdata(pdev);
int err;
+ pm_runtime_disable(&pdev->dev);
err = gpiochip_remove(&lg->chip);
if (err)
dev_warn(&pdev->dev, "failed to remove gpio_chip.\n");