summaryrefslogtreecommitdiff
path: root/drivers/dma/ti/k3-psil.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/ti/k3-psil.c')
-rw-r--r--drivers/dma/ti/k3-psil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/ti/k3-psil.c b/drivers/dma/ti/k3-psil.c
index d7b965049ccb..fb7c8150b0d1 100644
--- a/drivers/dma/ti/k3-psil.c
+++ b/drivers/dma/ti/k3-psil.c
@@ -27,6 +27,7 @@ struct psil_endpoint_config *psil_get_ep_config(u32 thread_id)
soc_ep_map = &j721e_ep_map;
} else {
pr_err("PSIL: No compatible machine found for map\n");
+ mutex_unlock(&ep_map_mutex);
return ERR_PTR(-ENOTSUPP);
}
pr_debug("%s: Using map for %s\n", __func__, soc_ep_map->name);