of: reserved_mem: set dma_ops for devices using reserved mem
authorSmitha T Murthy <smitha.t@samsung.com>
Wed, 21 Dec 2016 05:44:31 +0000 (11:14 +0530)
committerRob Herring <robh@kernel.org>
Wed, 4 Jan 2017 20:00:45 +0000 (14:00 -0600)
commita3b398e6f2f169f09e60ba99745ca444d7de693e
treeb7c35287f362500cb164ae770fcbd953e1fdf2d6
parent6f05afcbb031722ec1eff77dde188ff2edf8940e
of: reserved_mem: set dma_ops for devices using reserved mem

For some IPs, there may be virtual child devices created and for them its
necessary to set the dma_ops if it's using reserved memory else it will call
the dummy dma_ops during buffer operations for the child devices which will
lead to memory mapping failure.

Signed-off-by: Smitha T Murthy <smitha.t@samsung.com>
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/of_reserved_mem.c