[PATCH] arm: dma-mapping: Reset the device's dma_ops

2016-11-17 Thread Sricharan R
arch_teardown_dma_ops() being the inverse of arch_setup_dma_ops() ,dma_ops should be cleared in the teardown path. Otherwise this causes problem when the probe of device is retried after being deferred. The device's iommu structures are cleared after EPROBEDEFER error, but on the next try dma_ops w

Re: [PATCH] arm: dma-mapping: Reset the device's dma_ops

2016-11-17 Thread Marek Szyprowski
Hi Sricharan, On 2016-11-17 12:20, Sricharan R wrote: arch_teardown_dma_ops() being the inverse of arch_setup_dma_ops() ,dma_ops should be cleared in the teardown path. Otherwise this causes problem when the probe of device is retried after being deferred. The device's iommu structures are clea