linux/drivers/media
Suman Anna b7e1e6859f 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 <pavel@ucw.cz>
Signed-off-by: Suman Anna <s-anna@ti.com>
Tested-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-04-20 08:36:05 -04:00
..
cec media: cec: fix smatch error 2018-04-17 05:49:59 -04:00
common media: v4l2-tpg-core.c: add space after % 2018-04-04 06:12:52 -04:00
dvb-core media: dvb_frontend: fix locking issues at dvb_frontend_get_event() 2018-04-17 05:49:58 -04:00
dvb-frontends media: sp887x: fix a warning 2018-03-23 06:54:32 -04:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media updates for v4.17-rc1 2018-04-10 10:10:30 -07:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: ddbridge: don't uselessly check for dma in start/stop functions 2018-04-17 05:52:43 -04:00
platform media: omap3isp: fix unbalanced dma_iommu_mapping 2018-04-20 08:36:05 -04:00
radio media: si470x: fix a typo at the Makefile causing build issues 2018-04-18 15:21:41 -04:00
rc media: st_rc: Don't stay on an IRQ handler forever 2018-04-17 05:50:05 -04:00
spi media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver 2018-03-07 05:02:57 -05:00
tuners media: r820t: don't crash if attach fails 2018-04-04 05:36:20 -04:00
usb media: gspca: fix Kconfig help info 2018-04-04 06:27:28 -04:00
v4l2-core media: v4l2-compat-ioctl32: better document the code 2018-04-20 08:24:13 -04:00
Kconfig media updates for v4.17-rc1 2018-04-03 17:16:59 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: zero reservedX fields in media_v2_topology 2018-02-26 09:47:53 -05:00
media-devnode.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00