kernel-ark/drivers/media/platform
Sylwester Nawrocki ba6b372cf0 [media] s5p-fimc: Don't use mutex_lock_interruptible() in device release()
Use uninterruptible mutex_lock in the release() file op to make
sure all resources are properly freed when a process is being
terminated. Returning -ERESTARTSYS has no effect for a terminating
process and this caused driver resources not to be released. Not
releasing the buffer queue also prevented other drivers to free
memory, e.g. in MMAP -> USERPTR scenario.
This patch is required for stable kernels v3.6+.

Reported-by: Kamil Debski <k.debski@samsung.com>
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-11-26 18:30:19 -02:00
..
blackfin
davinci
exynos-gsc [media] exynos-gsc: change driver compatible string 2012-10-27 08:18:32 -02:00
marvell-ccic
omap
omap3isp [media] omap3isp: Fix warning caused by bad subdev events operations prototypes 2012-10-25 16:30:35 -02:00
s5p-fimc [media] s5p-fimc: Don't use mutex_lock_interruptible() in device release() 2012-11-26 18:30:19 -02:00
s5p-g2d
s5p-jpeg
s5p-mfc
s5p-tv
soc_camera [media] mx2_camera: fix missing unlock on error in mx2_start_streaming() 2012-11-22 10:58:27 -02:00
arv.c
coda.c
coda.h
fsl-viu.c
indycam.c
indycam.h
Kconfig
m2m-deinterlace.c
Makefile
mem2mem_testdev.c
mx2_emmaprp.c
omap24xxcam-dma.c
omap24xxcam.c
omap24xxcam.h
sh_vou.c [media] media: sh_vou: fix const cropping related warnings 2012-11-22 10:37:40 -02:00
timblogiw.c
via-camera.c
via-camera.h
vino.c
vino.h
vivi.c