]> git.baikalelectronics.ru Git - kernel.git/commit
[media] exynos4-is: Set fimc-lite subdev owner module
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 18 Apr 2013 16:40:42 +0000 (13:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 12:36:09 +0000 (09:36 -0300)
commit5aa59ffa9413f0db8b7274b4ada1986fd7c959e2
tree57d8aa8f22acb83d5d68d411fa7f9abfd511fb3a
parent21a36c7ee87cea60eae47cd7dcef3df46e70c06a
[media] exynos4-is: Set fimc-lite subdev owner module

The FIMC-LITE.n subdevs have currently sd->owner field not set,
the exynos-fimc-lite module can be removed at any time, regardless
it is in use by other modules. When this module is unloaded the
kernel can crash easily by accessing video or media device nodes.

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>
drivers/media/platform/exynos4-is/fimc-lite.c