Skip to content

Commit

Permalink
clk: ti: dra7-atl-clock: Mark the device as pm_runtime_irq_safe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Ujfalusi authored and Tero Kristo committed Sep 29, 2014
1 parent e8627a9 commit 04ed831
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/ti/clk-dra7-atl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 04ed831

Please sign in to comment.