]> www.infradead.org Git - users/jedix/linux-maple.git/commit
remoteproc: k3-dsp: Correct Reset logic for devices without lresets
authorBeleswar Padhi <b-padhi@ti.com>
Tue, 13 May 2025 05:44:49 +0000 (11:14 +0530)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 20 May 2025 17:19:11 +0000 (11:19 -0600)
commit754d13dfe263c704b9c2e3cd86cc37cf877a0789
tree7b9c3884ed2931e07fc427a0a2539b3937bf5f1d
parent9352aadafe4d2994359da3bdb96a3247e64715cd
remoteproc: k3-dsp: Correct Reset logic for devices without lresets

The k3_dsp_rproc_reset() function erroneously asserts the local reset
even for devices which do not support it. Even though it results in a
no-operation, Update the logic to explicitly assert the local reset for
devices that support it and only the global reset for those that do not.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Tested-by: Judith Mendez <jm@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20250513054510.3439842-16-b-padhi@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/ti_k3_dsp_remoteproc.c