Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 027f28b7 authored by Xiang Wang's avatar Xiang Wang Committed by Vinod Koul
Browse files

dma: mmp_pdma: add protect when alloc/free phy channels



In mmp pdma, phy channels are allocated/freed dynamically
and frequently. But no proper protection is added.
Conflict will happen when multi-users are requesting phy
channels at the same time. Use spinlock to protect.

Signed-off-by: default avatarXiang Wang <wangx@marvell.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 337ae47c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment