]> git.dujemihanovic.xyz Git - u-boot.git/commit
remoteproc: k3-dsp: Fix unbalanced state machine in k3_dsp_start
authorSuman Anna <s-anna@ti.com>
Tue, 10 Mar 2020 21:05:53 +0000 (16:05 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 16 Mar 2020 07:02:47 +0000 (12:32 +0530)
commit0020003ef3aac0d56b0d1b26c1dcace4b7d1ae6f
tree9fdc4e253446c4a39d9dbd8f08e3fed3d900184c
parent6e44aebdbb96e9465ec874b926fa108fd10d9b59
remoteproc: k3-dsp: Fix unbalanced state machine in k3_dsp_start

The global module reset is deasserted through the ti_sci_power_domain_on()
call in k3_dsp_start(), but is not asserted back if the local module reset
fails. Fix this.

While at this, remove the stale comment about assigned-clock-rates that
seems to have been copied from the K3 ARM64 Remoteproc driver.

Fixes: ab827b385718 ("remoteproc: Introduce K3 C66 and C71 remoteproc driver")
Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/remoteproc/ti_k3_dsp_rproc.c