projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a76fc9d
)
ARM: OMAP: dmtimer: disable pm runtime on remove
author
Suman Anna
<s-anna@ti.com>
Tue, 17 Mar 2015 01:14:03 +0000
(20:14 -0500)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 17 Mar 2015 17:44:58 +0000
(10:44 -0700)
Disable the pm_runtime of the device upon remove. This is
added to balance the pm_runtime_enable() invoked in the probe.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dmtimer.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-omap/dmtimer.c
b/arch/arm/plat-omap/dmtimer.c
index
f32c74c
..
8ca94d3
100644
(file)
--- a/
arch/arm/plat-omap/dmtimer.c
+++ b/
arch/arm/plat-omap/dmtimer.c
@@
-910,6
+910,8
@@
static int omap_dm_timer_remove(struct platform_device *pdev)
}
spin_unlock_irqrestore(&dm_timer_lock, flags);
+ pm_runtime_disable(&pdev->dev);
+
return ret;
}