diff options
author | 2012-04-19 12:20:24 +0200 | |
---|---|---|
committer | 2012-04-25 15:10:57 +0530 | |
commit | 88c08a3fba9954ce0ec3e1eab07c498a419ad7e3 (patch) | |
tree | 3e70ef723455e67c700c22abd8de40079e51093b /drivers/dma/ep93xx_dma.c | |
parent | dma: pl330: fix a couple of compilation warnings (diff) | |
download | linux-88c08a3fba9954ce0ec3e1eab07c498a419ad7e3.tar.gz linux-88c08a3fba9954ce0ec3e1eab07c498a419ad7e3.tar.bz2 linux-88c08a3fba9954ce0ec3e1eab07c498a419ad7e3.zip |
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: Davide Ciminaghi <ciminaghi@gnudd.com>
Reviewed-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/ep93xx_dma.c')
0 files changed, 0 insertions, 0 deletions