Commit f5e8723b authored by Grygorii Strashko's avatar Grygorii Strashko Committed by Dave Gerlach
Browse files

dmaengine: ti: k3-psil: fix deadlock on error path



commit 172d59ec upstream.

The mutex_unlock() is missed on error path of psil_get_ep_config()
which causes deadlock.
Add missed mutex_unlock().

Fixes: 8c6bb62f ("dmaengine: ti: k3 PSI-L remote endpoint configuration")
Signed-off-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent eab6abb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment