diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2013-01-10 09:53:06 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-01-12 14:07:23 +0100 |
commit | a5dbff111cacecd2e79843a51cc86d21d3648af5 (patch) | |
tree | 8bc05b8c9dcf742f5e4977a92567c58cc82d3a10 /arch/arm/mach-spear6xx/spear6xx.c | |
parent | dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous (diff) | |
download | linux-a5dbff111cacecd2e79843a51cc86d21d3648af5.tar.xz linux-a5dbff111cacecd2e79843a51cc86d21d3648af5.zip |
dma: dw_dmac: clear suspend bit during termination
The DMA transfer could not be established if previously it was paused and
terminated. In that case the channel's suspend bit remains set that prevents to
transfer anything until channel is resumed.
The patch adds the dwc_chan_resume() call instead of a plain flag assignment.
That clears the DWC_CFGL_CH_SUSP bit as well during termination.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/arm/mach-spear6xx/spear6xx.c')
0 files changed, 0 insertions, 0 deletions