diff options
Diffstat (limited to 'drivers/dma/ste_dma40.c')
-rw-r--r-- | drivers/dma/ste_dma40.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 2ed1ac3513f3..000d309602b2 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c | |||
@@ -2362,7 +2362,7 @@ dma40_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t dma_addr, | |||
2362 | } | 2362 | } |
2363 | 2363 | ||
2364 | sg[periods].offset = 0; | 2364 | sg[periods].offset = 0; |
2365 | sg[periods].length = 0; | 2365 | sg_dma_len(&sg[periods]) = 0; |
2366 | sg[periods].page_link = | 2366 | sg[periods].page_link = |
2367 | ((unsigned long)sg | 0x01) & ~0x02; | 2367 | ((unsigned long)sg | 0x01) & ~0x02; |
2368 | 2368 | ||