]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: shmobile: bockw: fixup DMA mask
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 16 Dec 2013 08:16:52 +0000 (00:16 -0800)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 19 Dec 2013 09:10:26 +0000 (18:10 +0900)
commit6236fae78d55c97f8eb2a6d9f09d23dd761ebd1c
tree9b328326d7e601e9ec4d213e5e4bc3087241af5f
parentc52568a9a6265f0421e8496e9b42a241f1ea74af
ARM: shmobile: bockw: fixup DMA mask

39c7755f94d26ceb72f1f81f64155cd821ce62b1
(ARM: DMA-API: better handing of DMA masks for coherent allocations)
exchanged DMA mask check method.
Below warning will appear without this patch

asoc-simple-card asoc-simple-card.0: \
  Coherent DMA mask 0xffffffffffffffff is larger than dma_addr_t allows
asoc-simple-card asoc-simple-card.0: \
  Driver did not use or check the return value from dma_set_coherent_mask()?

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-bockw.c