[PATCH v2] media: omap3isp: fix unbalanced dma_iommu_mapping

2018-03-14 Thread Suman Anna
The OMAP3 ISP driver manages its MMU mappings through the IOMMU-aware ARM DMA backend. The current code creates a dma_iommu_mapping and attaches this to the ISP device, but never detaches the mapping in either the probe failure paths or the driver remove path resulting in an unbalanced mapping refc

Re: [PATCH v2] media: omap3isp: fix unbalanced dma_iommu_mapping

2018-03-15 Thread Pavel Machek
On Wed 2018-03-14 10:41:36, Suman Anna wrote: > The OMAP3 ISP driver manages its MMU mappings through the IOMMU-aware > ARM DMA backend. The current code creates a dma_iommu_mapping and > attaches this to the ISP device, but never detaches the mapping in > either the probe failure paths or the driv

Re: [PATCH v2] media: omap3isp: fix unbalanced dma_iommu_mapping

2018-03-21 Thread Laurent Pinchart
Hi Suman, Thank you for the patch. On Wednesday, 14 March 2018 17:41:36 EET Suman Anna wrote: > The OMAP3 ISP driver manages its MMU mappings through the IOMMU-aware > ARM DMA backend. The current code creates a dma_iommu_mapping and > attaches this to the ISP device, but never detaches the mappi

Re: [PATCH v2] media: omap3isp: fix unbalanced dma_iommu_mapping

2018-03-26 Thread Suman Anna
Hi Mauro, On 03/21/2018 05:26 AM, Laurent Pinchart wrote: > Hi Suman, > > Thank you for the patch. > > On Wednesday, 14 March 2018 17:41:36 EET Suman Anna wrote: >> The OMAP3 ISP driver manages its MMU mappings through the IOMMU-aware >> ARM DMA backend. The current code creates a dma_iommu_mapp

Re: [PATCH v2] media: omap3isp: fix unbalanced dma_iommu_mapping

2018-04-11 Thread Sakari Ailus
On Mon, Mar 26, 2018 at 11:40:58AM -0500, Suman Anna wrote: > Hi Mauro, > > On 03/21/2018 05:26 AM, Laurent Pinchart wrote: > > Hi Suman, > > > > Thank you for the patch. > > > > On Wednesday, 14 March 2018 17:41:36 EET Suman Anna wrote: > >> The OMAP3 ISP driver manages its MMU mappings through