Re: [PATCH] dma: ti: fix a missing check in omap_dma_prep_dma_cyclic

2019-03-29 Thread Peter Ujfalusi
On 24/03/2019 0.39, Kangjie Lu wrote: > It is invalid when "buf_len" is not aligned with "period_len". > > The fix adds a check for the alignment. > > Signed-off-by: Kangjie Lu > --- > drivers/dma/ti/omap-dma.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

[PATCH] dma: ti: fix a missing check in omap_dma_prep_dma_cyclic

2019-03-23 Thread Kangjie Lu
It is invalid when "buf_len" is not aligned with "period_len". The fix adds a check for the alignment. Signed-off-by: Kangjie Lu --- drivers/dma/ti/omap-dma.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/ti/omap-dma.c b/drivers/dma/ti/omap-dma.c index