]> git.karo-electronics.de Git - karo-tx-linux.git/commit
of: dma: Move range size workaround to of_dma_get_range()
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 14 May 2015 23:00:04 +0000 (02:00 +0300)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:33 +0000 (09:54 +0000)
commit4bccb7567adaeea83089d1f4db2581131dafb2ee
tree2e69a059daae5a64506ec35fccc6648601ee65f8
parentfaec6517d70b4b8664df1d0b8a6f6d7477f750f4
of: dma: Move range size workaround to of_dma_get_range()

Invalid dma-ranges values should be worked around when retrieving the
DMA range in of_dma_get_range(), not by all callers of the function.
This isn't much of a problem now that we have a single caller, but that
situation will change when moving DMA configuration to device probe
time.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/of/address.c
drivers/of/device.c