diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-11-21 11:46:43 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-11-26 18:43:08 -0200 |
commit | 9868018045c555c7a724c0cb7eeb0caeba9d43ff (patch) | |
tree | 8bc64d8de0f680a284713ccbd00587dd4e171e77 /mm/util.c | |
parent | ddc43d6dc7df0849fe41b91460fa76145cf87b67 (diff) |
[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 'mm/util.c')
0 files changed, 0 insertions, 0 deletions