mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Merge branch 'fixes' of git://git.infradead.org/users/vkoul/slave-dma
Pull slave-dmaengine fixes from Vinod Koul: "Two small fixes for omap dmaengine driver which fixes cyclic suspend and resume" * 'fixes' of git://git.infradead.org/users/vkoul/slave-dma: dmaengine: omap-dma: Restore the CLINK_CTRL in resume path dmaengine: omap-dma: Add memory barrier to dma_resume path
This commit is contained in:
commit
4092dc8f0b
@ -1017,6 +1017,11 @@ static int omap_dma_resume(struct omap_chan *c)
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
if (c->paused) {
|
if (c->paused) {
|
||||||
|
mb();
|
||||||
|
|
||||||
|
/* Restore channel link register */
|
||||||
|
omap_dma_chan_write(c, CLNK_CTRL, c->desc->clnk_ctrl);
|
||||||
|
|
||||||
omap_dma_start(c, c->desc);
|
omap_dma_start(c, c->desc);
|
||||||
c->paused = false;
|
c->paused = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user