Skip to content
Commit 88c08a3f authored by Davide Ciminaghi's avatar Davide Ciminaghi Committed by Vinod Koul
Browse files

dmaengine/amba-pl08x : reset phychan_hold on terminate all



When a client calls pl08x_control with DMA_TERMINATE_ALL, it is correct
to terminate and release the phy channel currently in use (if one is in use),
but the phychan_hold counter must also be reset (otherwise it could get
trapped in an unbalanced state).

Signed-off-by: default avatarDavide Ciminaghi <ciminaghi@gnudd.com>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@st.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@linux.intel.com>
parent c8473828
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment