aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2018-07-27 15:14:15 +0100
committerChristoph Hellwig <hch@lst.de>2018-07-27 19:01:03 +0200
commita5516219b10218a87abb3352c82248ce3088e94a (patch)
tree0fcd29611fd351bc1974cf61cd270a78b5cc0c0f /include/linux/device.h
parentnios2: use generic dma_noncoherent_ops (diff)
downloadlinux-dev-a5516219b10218a87abb3352c82248ce3088e94a.tar.xz
linux-dev-a5516219b10218a87abb3352c82248ce3088e94a.zip
of/platform: Initialise default DMA masks
When of_dma_configure() was first born in 591c1ee465ce ("of: configure the platform device dma parameters"), everything DMA-related was factored out of of_platform_device_create_pdata() as seemed appropriate at the time. However, now that of_dma_configure() has grown into the generic handler for processing DMA-related properties from DT for all kinds of devices, it is no longer an appropriate place to be doing OF-platform-specific business. Since there are still plenty of platform drivers not setting their own masks and depending on the bus default, let's reinstate that inialisation in the OF-platform code itself, and restore the long-standing status quo from 0589342c2794 ("of: set dma_mask to point to coherent_dma_mask") Signed-off-by: Robin Murphy <robin.murphy@arm.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions