ARM: tegra: dma: Check request size before enqueuing requests
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 6 Mar 2012 08:52:14 +0000 (13:52 +0530)
committerSimone Willett <swillett@nvidia.com>
Wed, 7 Mar 2012 04:08:38 +0000 (20:08 -0800)
commit091ea4f9c2cfdba2e72bd2c1ccf4a67df159d1be
treee648a86cb88392e529cb78906bd7ce13cfc64065
parent86373a7e882d9ce6d45964701ff13c7a2d8b02f5
ARM: tegra: dma: Check request size before enqueuing requests

The request size should be multiple of 4 bytes in ONE_SHOT and
CONTINUOUS_SINGLE mode and multiple of 8 bytes in case of
CONTINUOUS_DOUBLE mode.

Change-Id: Iedb7a75eedda58f4f9b5c6d072ef2edb7ee657d4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/87994
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
arch/arm/mach-tegra/dma.c