Skip to content
Commit 1df65ab9 authored by Meng Li's avatar Meng Li Committed by Meng Li
Browse files

drvier: dpaa: Convert the rx_pool_channel_init from spinlock to mutex



In original code, the static spinlock variable is only used
to implement sync strategy. So, it is not necessary to protect
code with atomic environment, mutex is enough. In this way,
it can avoid causing issue if some code in the protected range
may enter sleeping status.

Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
parent 6c387e18
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