summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-05-31 11:37:25 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-12 22:01:53 -0300
commit26d63d13da2c7de2547f6f455ae20045285dfeb8 (patch)
tree99d4e314b909af97a335f9419a5b2a51dbdd4f0f /drivers/video
parent52917bcbe06c937e97d941ef21211f981f192f99 (diff)
[media] exynos4-is: Add locking at fimc(-lite) subdev unregistered handler
Protect the fimc/fimc-lite video nodes unregistration with their video lock. This prevents a kernel crash when e.g. udev opens a video node right after the driver registers it and then the driver tries to unregister it and defers its probing. Using video_is_unregistered() together with the video mutex allows safe unregistration of the video nodes at any time. 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 'drivers/video')
0 files changed, 0 insertions, 0 deletions