ASoC: omap-pcm: Correct dma mask
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 3 Mar 2015 11:38:14 +0000 (13:38 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 9 May 2015 22:16:23 +0000 (23:16 +0100)
commitbbe1b8742bec3dee45847baf8401af18a5fd5e8a
tree191d5c692fc8a641ace4072327791335c957b99f
parent44304628e6cf27c96fe6eea81a24855edf1dc676
ASoC: omap-pcm: Correct dma mask

commit d51199a83a2cf82a291d19ee852c44caa511427d upstream.

DMA_BIT_MASK of 64 is not valid dma address mask for OMAPs, it should be
set to 32.
The 64 was introduced by commit (in 2009):
a152ff24b978 ASoC: OMAP: Make DMA 64 aligned

But the dma_mask and coherent_dma_mask can not be used to specify alignment.

Fixes: a152ff24b978 (ASoC: OMAP: Make DMA 64 aligned)
Reported-by: Grygorii Strashko <Grygorii.Strashko@linaro.org>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
[bwh: Backported to 3.2: not using dma_coerce_mask_and_coherent()]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/soc/omap/omap-pcm.c