ARM: S3C24XX: Add dma_mask assignments for DMA devices
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 4 Aug 2016 09:56:12 +0000 (11:56 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 10 Aug 2016 09:20:10 +0000 (11:20 +0200)
commit971466bff47483e70e38a3f0ae0d55e86e9fdeee
treeeae1f0ae657122357aaf105b7c85994e15d3c66e
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
ARM: S3C24XX: Add dma_mask assignments for DMA devices

The dma_mask assignments seem to be missed during refactoring
of arch/arm/mach-s3c24xx. Add them to avoid DMA allocation
failures. Without this patch sound is broken on s3c24xx
with errors reported like:

s3c24xx-dma s3c2410-dma.0: coherent DMA mask is unset
ALSA pcmC0D0p,0:: cannot preallocate for size 524288
s3c24xx-iis s3c24xx-iis: Failed to get DMA channel capabilities,
falling back to period counting: -6
s3c24xx-dma s3c2410-dma.0: coherent DMA mask is unset
...
ALSA pcmC0D0c,0:: cannot preallocate for size 524288
s3c24xx-iis s3c24xx-iis: Failed to get DMA channel capabilities,
falling back to period counting: -6

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/mach-s3c24xx/common.c