aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSuman Anna <[email protected]>2018-03-14 11:41:36 -0400
committerMauro Carvalho Chehab <[email protected]>2018-04-20 08:36:05 -0400
commitb7e1e6859fbf60519fd82d7120cee106a6019512 (patch)
tree2675389e15e9de7cf05b47ea741f125809103f37 /tools/perf/scripts/python
parent1d338b86e17d87215cf57b1ad1d13b2afe582d33 (diff)
media: omap3isp: fix unbalanced dma_iommu_mapping
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 refcount and a memory leak. Fix this properly. Reported-by: Pavel Machek <[email protected]> Signed-off-by: Suman Anna <[email protected]> Tested-by: Pavel Machek <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions