mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
ba6b372cf0
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> |
||
---|---|---|
.. | ||
fimc-capture.c | ||
fimc-core.c | ||
fimc-core.h | ||
fimc-lite-reg.c | ||
fimc-lite-reg.h | ||
fimc-lite.c | ||
fimc-lite.h | ||
fimc-m2m.c | ||
fimc-mdevice.c | ||
fimc-mdevice.h | ||
fimc-reg.c | ||
fimc-reg.h | ||
Kconfig | ||
Makefile | ||
mipi-csis.c | ||
mipi-csis.h |