summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2012-11-21 15:46:43 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-11-26 21:43:08 +0100
commit9868018045c555c7a724c0cb7eeb0caeba9d43ff (patch)
tree8bc64d8de0f680a284713ccbd00587dd4e171e77 /include/trace
parent[media] fimc-lite: Don't use mutex_lock_interruptible() in device release() (diff)
downloadlinux-9868018045c555c7a724c0cb7eeb0caeba9d43ff.tar.xz
linux-9868018045c555c7a724c0cb7eeb0caeba9d43ff.zip
[media] exynos-gsc: 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 may cause driver resources not to be released. 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>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions