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)
commit4799e310caf0fb9078389766d0210d1c6133ad51
tree9b328326d7e601e9ec4d213e5e4bc3087241af5f
parent9fb444f22f09cfad3798e3610f7dc62f8a385ee8
ARM: shmobile: bockw: fixup DMA mask

4dcfa60071b3d23f0181f27d8519f12e37cefbb9
(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