aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pv210
diff options
context:
space:
mode:
authorGravatar Sylwester Nawrocki <s.nawrocki@samsung.com> 2014-05-08 14:35:15 -0300
committerGravatar Mauro Carvalho Chehab <m.chehab@samsung.com> 2014-05-23 15:50:17 -0300
commit404a90abc60f60df2757cb272660e003d326881f (patch)
tree1dcbe5e0ceafcce8182cd82b5e22683f3ba8cbf0 /arch/arm/mach-s5pv210
parent[media] exynos4-is: Fix compilation for !CONFIG_COMMON_CLK (diff)
downloadlinux-404a90abc60f60df2757cb272660e003d326881f.tar.gz
linux-404a90abc60f60df2757cb272660e003d326881f.tar.bz2
linux-404a90abc60f60df2757cb272660e003d326881f.zip
[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>
Diffstat (limited to 'arch/arm/mach-s5pv210')
0 files changed, 0 insertions, 0 deletions