]> 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)
commit8f6baf565200fd4e4414a0c5f0b4d939308068ad
tree9b328326d7e601e9ec4d213e5e4bc3087241af5f
parentb81488768146161684e1f287494abaf948fc2afe
ARM: shmobile: bockw: fixup DMA mask

54347e48884a50367e4e55d692d7e8b7cad07ee2
(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