[PATCH] arm: ep93xx: add dma_masks for the M2P and M2M DMA controllers
From: Hartley Sweeten <hidden>
Date: 2014-11-28 22:30:52
On Friday, November 28, 2014 4:35 AM, Arnd Bergmann wrote:
On Friday 21 November 2014, H Hartley Sweeten wrote:quoted
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 <redacted> Tested-by: Alexander Sverdlin <redacted> Cc: Ryan Mallon <redacted>Applied to next/fixes-non-critical. I couldn't tell from your description whether you want this on 3.18 or even backported to older releases, which I guess would make sense. If you want a backport, let me know.
Arnd, This fixes the ep93xx sound driver. It should probably be backported and applied to 3.18. The sound driver was broken when it was converted to the dmaengine API. I missed this when the driver was converted because my normal ep93xx boards do not have sound support. I'll try to determine when the audio actually broke so we can figure out how far the backport needs to go, Thanks, Hartley