ASoC: samsung-idma: avoid 64-bit division
authorArnd Bergmann <arnd@arndb.de>
Tue, 29 Apr 2014 11:18:25 +0000 (19:18 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 1 May 2014 03:31:13 +0000 (20:31 -0700)
commit1aa91b6dd44a9517dee42913ecf9f51650b32cb6
treec57888179dd5ab97a3c112f5fcf7fbb6ed2f20ca
parent01c2cb67eaa37f86196e3e6074dea096fe46511a
ASoC: samsung-idma: avoid 64-bit division

dma_addr_t may be 64 bit wide, which causes a build failure
when doing a division on it. Here it is safe to cast to an
u32 type, which avoids the problem.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Xia Kaixu <kaixu.xia@linaro.org>
Tested-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/samsung/idma.c