Home
last modified time | relevance | path

Searched hist:"1 fa81c270da4d8dffa84fcca448654a10ed0a5dc" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/dma/
H A Dimx-sdma.cdiff 1fa81c270da4d8dffa84fcca448654a10ed0a5dc Wed Jan 12 06:02:28 CST 2011 Sascha Hauer <s.hauer@pengutronix.de> dmaengine i.MX sdma: check sg entries for valid addresses and lengths

This patch lets sdma_prep_slave_sg fail if the entries of an
sg list do not start on multiples of the word size or if the
lengths are not multiple of the word size.
Also, catch the previously unhandled DMA_SLAVE_BUSWIDTH_8_BYTES
and DMA_SLAVE_BUSWIDTH_UNDEFINED cases.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>