]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
of: dma: Split of_configure_dma() into mask and ops configuration
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 14 May 2015 23:00:06 +0000 (02:00 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Sep 2017 16:19:06 +0000 (18:19 +0200)
commit77eb6608031bb412bded0f3bb439090ebe5a108d
treed6442abfec3145f16a697ae651066164461ee52d
parent07223997f58ebdf36f0acfa3146f12d864c820aa
of: dma: Split of_configure_dma() into mask and ops configuration

The of_configure_dma() function configures both the DMA masks and ops.
Moving DMA ops configuration to probe time would thus also delay
configuration of the DMA masks, which might not be safe. To avoid issues
split the configuration in two to allow keeping masks configuration at
device add time and move ops configuration to device probe time.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/of/device.c
drivers/of/platform.c
include/linux/of_device.h