mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 14:14:01 +08:00
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>
This commit is contained in:
parent
e8627a9ec3
commit
04ed831f22
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user