Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: ti: dra7-atl: Remove pm_runtime_irq_safe()

This is not needed for anything, and prevents proper PM transitions for
parent devices which is bad in case of ti-sysc; this effectively kills
PM completely. Thus, remove the flag.

Suggested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lkml.kernel.org/r/20191114101718.20619-1-peter.ujfalusi@ti.com
Reviewed-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Peter Ujfalusi and committed by
Stephen Boyd
ad931a2d 5e82548e

-1
-1
drivers/clk/ti/clk-dra7-atl.c
··· 233 233 cinfo->iobase = of_iomap(node, 0); 234 234 cinfo->dev = &pdev->dev; 235 235 pm_runtime_enable(cinfo->dev); 236 - pm_runtime_irq_safe(cinfo->dev); 237 236 238 237 pm_runtime_get_sync(cinfo->dev); 239 238 atl_write(cinfo, DRA7_ATL_PCLKMUX_REG(0), DRA7_ATL_PCLKMUX);