author: Tony Lindgren <tony@atomide.com> 2021-02-18 13:46:33 +0200
committer: Tony Lindgren <tony@atomide.com> 2021-02-18 14:07:29 +0200
commit: effe89e40037038db7711bdab5d3401fe297d72c
parent: a7b5d7c4969aba8d1f04c29048906abaa71fb6a9
Commit Summary:
Diffstat:
1 file changed, 5 insertions, 1 deletion
diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c
index 17ea6a74a988..51143a68a889 100644
--- a/drivers/soc/ti/omap_prm.c
+++ b/drivers/soc/ti/omap_prm.c
@@ -830,8 +830,12 @@ static int omap_reset_deassert(struct reset_controller_dev *rcdev,
reset->prm->data->name, id);
exit:
- if (reset->clkdm)
+ if (reset->clkdm) {
+ /* At least dra7 iva needs a delay before clkdm idle */
+ if (has_rstst)
+ udelay(1);
pdata->clkdm_allow_idle(reset->clkdm);
+ }
return ret;
}