]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/bus/ti-sysc.c
bus: ti-sysc: Assert reset only after disabling clocks
authorTony Lindgren <tony@atomide.com>
Mon, 16 Nov 2020 10:57:13 +0000 (12:57 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 16 Nov 2020 10:57:15 +0000 (12:57 +0200)
commit4097c9a64d1009d97dcee772bd8b15381bc7507d
treea5af6a20512a4a31ae75acf641ea038e8cc3f532
parentc1995e5afaf6abf3922b5395ad1f4096951e3276
bus: ti-sysc: Assert reset only after disabling clocks

The rstctrl reset must be asserted after gating the module clock as
described in the TRM at least for IVA. Otherwise the rstctrl reset
done with module clock enabled can hang the system.

Note that this issue is has been only seen with related IVA changes
that we do not currently have merged. So probably no need to apply
this patch as a fix.

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c