From: Peter Ujfalusi Date: Mon, 29 Sep 2014 08:10:33 +0000 (+0300) Subject: clk: ti: dra7-atl-clock: Mark the device as pm_runtime_irq_safe X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=04ed831f224d4553682f48e1b4a6b68f2622b68e;p=linux-beck.git 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 Signed-off-by: Tero Kristo --- 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) 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);