]> git.karo-electronics.de Git - linux-beck.git/commit
arm: ep93xx: add dma_masks for the M2P and M2M DMA controllers
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 21 Nov 2014 17:23:42 +0000 (10:23 -0700)
committerArnd Bergmann <arnd@arndb.de>
Fri, 28 Nov 2014 11:34:08 +0000 (12:34 +0100)
commitb2b54c9f76d2f5c2c14759b709b2af1ee397fbb2
tree905952e723b0614617729fb02b5ade05c3eedc01
parentdaac6f8642f786a9576b2b6b0224012d54e4506b
arm: ep93xx: add dma_masks for the M2P and M2M DMA controllers

The dma_mask and coherent_dma_mask need to be set or DMA memory allocations
will fail with error messages like this:

  ep93xx-dma ep93xx-dma-m2p: coherent DMA mask is unset

  ep93xx-dma ep93xx-dma-m2m: coherent DMA mask is unset

Add the missing information to the ep93xx-dma-m2p and ep93xx-dma-m2m
devices.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reported-by: Jeremy Moles <cubicool@gmail.com>
Tested-by: Alexander Sverdlin <subaparts@yandex.ru>
Cc: Ryan Mallon <rmallon@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-ep93xx/dma.c