projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8627a9
)
clk: ti: dra7-atl-clock: Mark the device as pm_runtime_irq_safe
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Mon, 29 Sep 2014 08:10:33 +0000
(11:10 +0300)
committer
Tero Kristo
<t-kristo@ti.com>
Mon, 29 Sep 2014 08:51:14 +0000
(11:51 +0300)
It is safe to call the pm sync calls in interrupt context in this driver.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
drivers/clk/ti/clk-dra7-atl.c
patch
|
blob
|
history
diff --git
a/drivers/clk/ti/clk-dra7-atl.c
b/drivers/clk/ti/clk-dra7-atl.c
index 3f9308afdc2852d97561a91f92271a8bb81e4de3..c375cfb59ac93391a17339f2247f7f529088990a 100644
(file)
--- a/
drivers/clk/ti/clk-dra7-atl.c
+++ b/
drivers/clk/ti/clk-dra7-atl.c
@@
-225,6
+225,7
@@
static int of_dra7_atl_clk_probe(struct platform_device *pdev)
cinfo->iobase = of_iomap(node, 0);
cinfo->dev = &pdev->dev;
pm_runtime_enable(cinfo->dev);
+ pm_runtime_irq_safe(cinfo->dev);
pm_runtime_get_sync(cinfo->dev);
atl_write(cinfo, DRA7_ATL_PCLKMUX_REG(0), DRA7_ATL_PCLKMUX);