bcma: use of_dma_configure() to set initial dma mask
authorArnd Bergmann <arnd@arndb.de>
Thu, 17 Mar 2016 09:39:17 +0000 (10:39 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 9 Sep 2016 09:00:37 +0000 (12:00 +0300)
commitdefb893fffef89ac6db4e68fccae1783d7c93977
tree7ec2e9f94a47d9c6ce5304e7b2a5fb36d9e4eed9
parent5856cd5b8dda5ee013a2b0abbab0552a6f14d72d
bcma: use of_dma_configure() to set initial dma mask

While fixing another bug, I noticed that bcma manually sets up
a dma_mask pointer for its child devices. We have a generic
helper for that now, which should be able to cope better with
any variations that might be needed to deal with cache coherency,
unusual DMA address offsets, iommus, or limited DMA masks, none
of which are currently handled here.

This changes the core to use the of_dma_configure(), like
we do for platform devices that are probed directly from
DT.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/main.c