Commit 3c80f644 authored by Beleswar Padhi's avatar Beleswar Padhi Committed by Greg Kroah-Hartman
Browse files

remoteproc: k3-r5: Acquire mailbox handle during probe routine



[ Upstream commit f3f11cfe ]

Acquire the mailbox handle during device probe and do not release handle
in stop/detach routine or error paths. This removes the redundant
requests for mbox handle later during rproc start/attach. This also
allows to defer remoteproc driver's probe if mailbox is not probed yet.

Signed-off-by: default avatarBeleswar Padhi <b-padhi@ti.com>
Link: https://lore.kernel.org/r/20240808074127.2688131-3-b-padhi@ti.com


Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Stable-dep-of: 8fa052c2 ("remoteproc: k3-r5: Delay notification of wakeup event")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fb4c3e71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment