sh: DMA driver has to specify its alignment requirements
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 4 Dec 2009 18:44:41 +0000 (19:44 +0100)
committerDan Williams <dan.j.williams@intel.com>
Fri, 11 Dec 2009 06:25:58 +0000 (23:25 -0700)
commitddb4f0f0e05871c7ac540cc778993c06ff53b765
tree6880d9690d296bd2cade679e46ccca8986deab83
parent61f135b92f4758bc4d4767cd0a5d2da954e27f14
sh: DMA driver has to specify its alignment requirements

The SH DMA driver by default uses 32-byte transfers, in this mode buffers and
sizes have to be 32-byte aligned. Specifying this requirement also fixes Oopses
with dmatest.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/shdma.c