of/device: Set bus DMA mask as appropriate
authorRobin Murphy <robin.murphy@arm.com>
Mon, 23 Jul 2018 22:16:09 +0000 (23:16 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 27 Jul 2018 17:01:05 +0000 (19:01 +0200)
commit6c2fb2ea76361da9b420a8e23a2a19e7842cbdda
treee5e0af049ac7422e624bfa83d47d832136e6bb8f
parentd74ea7100b0d065f2008c4e1ddf637483bc3d28c
of/device: Set bus DMA mask as appropriate

When an explicit DMA limit is described by firmware, we need to remember
it regardless of how drivers might subsequently update their devices'
masks. The new bus_dma_mask field does that.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/of/device.c