]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:33 +0000 (09:54 +0000)
commit1915ad64eed8c292ee90a2655b18431c33a43deb
treebffabc552a35aa5ad0cca82fe02e6344b3265142
parente2d1cab01786dba1c564cad6c23669ecb5cde281
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