clk: ti: dra7-atl: Remove pm_runtime_irq_safe()
Subsystems (2)
PATCH 1/1 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.
--- drivers/clk/ti/clk-dra7-atl.c | 1 - 1 file changed, 1 deletion(-)
drivers/clk/ti/clk-dra7-atl.c +0 -1
@@ -233,7 +233,6 @@ 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 );
Signature · 4 lines
Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Quoted 3 lines · Peter Ujfalusi
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.
Good to hear and thanks for clearing this one:
Quoting Peter Ujfalusi (2019-11-14 02:17:18)
Quoted 7 lines
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 <[email protected]>Signed-off-by Peter Ujfalusi <[email protected]>---
Applied to clk-fixes. Seems important to not ruin the PM experience.