aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-12 13:02:28 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-31 12:33:08 +0100
commit1fa81c270da4d8dffa84fcca448654a10ed0a5dc (patch)
tree2582ad91ea12c462745b2ef11d0fccfee73acee5 /scripts/patch-kernel
parentdmaengine i.MX sdma: set maximum segment size for our device (diff)
downloadlinux-1fa81c270da4d8dffa84fcca448654a10ed0a5dc.tar.gz
linux-1fa81c270da4d8dffa84fcca448654a10ed0a5dc.zip
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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions