linux/drivers/media/platform/exynos4-is
Sylwester Nawrocki 404a90abc6 [media] exynos4-is: Free FIMC-IS CPU memory only when allocated
Ensure dma_free_coherent() is not called with incorrect arguments
and only when the memory was actually allocated. This will prevent
possible crashes on error paths of the top level media device driver,
when fimc-is device gets unregistered and its driver detached.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: stable@vger.kernel.org # for v3.15
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-05-23 15:50:17 -03:00
..
common.c [media] exynos4-is: Move __fimc_videoc_querycap() function to the common module 2013-06-12 22:05:41 -03:00
common.h [media] exynos4-is: Move __fimc_videoc_querycap() function to the common module 2013-06-12 22:05:41 -03:00
fimc-capture.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
fimc-core.c [media] s5p-fimc: Changed RGB32 to BGR32 2014-05-13 20:06:40 -03:00
fimc-core.h [media] exynos4-is: Use mem-to-mem ioctl helpers 2013-12-04 15:43:49 -02:00
fimc-is-command.h [media] exynos4-is: Add Exynos4x12 FIMC-IS driver 2013-04-04 19:59:24 -03:00
fimc-is-errno.c [media] exynos4-is: Add Exynos4x12 FIMC-IS driver 2013-04-04 19:59:24 -03:00
fimc-is-errno.h [media] exynos4-is: Add Exynos4x12 FIMC-IS driver 2013-04-04 19:59:24 -03:00
fimc-is-i2c.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-09-05 11:55:59 -07:00
fimc-is-i2c.h [media] exynos4-is: Add FIMC-IS ISP I2C bus driver 2013-04-04 20:04:49 -03:00
fimc-is-param.c [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-param.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-regs.c [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-regs.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-sensor.c [media] exynos4-is: Use external s5k6a3 sensor driver 2014-03-14 10:34:13 -03:00
fimc-is-sensor.h [media] exynos4-is: Use external s5k6a3 sensor driver 2014-03-14 10:34:13 -03:00
fimc-is.c [media] exynos4-is: Free FIMC-IS CPU memory only when allocated 2014-05-23 15:50:17 -03:00
fimc-is.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-isp-video.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
fimc-isp-video.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-isp.c [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-isp.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-lite-reg.c [media] exynos4-is: fimc-lite: Index out of bounds if no pixelcode found 2013-12-04 15:52:43 -02:00
fimc-lite-reg.h [media] exynos4-is: Add Exynos5250 SoC support to fimc-lite driver 2013-06-28 15:22:22 -03:00
fimc-lite.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
fimc-lite.h [media] exynos4-is: Set valid initial format at FIMC-LITE 2013-06-28 15:30:36 -03:00
fimc-m2m.c [media] s5p-fimc: Reuse calculated sizes 2014-05-13 20:06:58 -03:00
fimc-reg.c [media] exynos4-is: Add struct exynos_video_entity 2013-06-12 21:53:33 -03:00
fimc-reg.h [media] exynos4-is: Correct input DMA YUV order configuration 2013-04-04 20:23:53 -03:00
Kconfig [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
Makefile [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
media-dev.c [media] exynos4-is: Fix compilation for !CONFIG_COMMON_CLK 2014-05-23 15:49:39 -03:00
media-dev.h [media] exynos4-is: Fix compilation for !CONFIG_COMMON_CLK 2014-05-23 15:49:39 -03:00
mipi-csis.c [media] of: move common endpoint parsing to drivers/of 2014-03-06 17:41:48 +01:00
mipi-csis.h