aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2014-09-29 04:10:33 -0400
committerTero Kristo <t-kristo@ti.com>2014-09-29 04:51:14 -0400
commit04ed831f224d4553682f48e1b4a6b68f2622b68e (patch)
treee3c11f43aab2312ca20951e6424941822033d769 /drivers/clk
parente8627a9ec397dd55f650e54e4956e25cfa8aab7c (diff)
clk: ti: dra7-atl-clock: Mark the device as pm_runtime_irq_safe
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/ti/clk-dra7-atl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/ti/clk-dra7-atl.c b/drivers/clk/ti/clk-dra7-atl.c
index 3f9308afdc28..c375cfb59ac9 100644
--- 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)
225 cinfo->iobase = of_iomap(node, 0); 225 cinfo->iobase = of_iomap(node, 0);
226 cinfo->dev = &pdev->dev; 226 cinfo->dev = &pdev->dev;
227 pm_runtime_enable(cinfo->dev); 227 pm_runtime_enable(cinfo->dev);
228 pm_runtime_irq_safe(cinfo->dev);
228 229
229 pm_runtime_get_sync(cinfo->dev); 230 pm_runtime_get_sync(cinfo->dev);
230 atl_write(cinfo, DRA7_ATL_PCLKMUX_REG(0), DRA7_ATL_PCLKMUX); 231 atl_write(cinfo, DRA7_ATL_PCLKMUX_REG(0), DRA7_ATL_PCLKMUX);