]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[media] s5p-fimc: Fix FIMC.n subdev set_selection ioctl handler
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 30 Jan 2013 12:55:46 +0000 (09:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 19:53:25 +0000 (17:53 -0200)
commit8b164105d87d1c0101dfbf8d2bacee82c70d91aa
tree24bf643f45f2dd288405a9bd18a30b75d23a0146
parent81619ce1931a1d96e53b455ca2f35757f0c457a5
[media] s5p-fimc: Fix FIMC.n subdev set_selection ioctl handler

The V4L2_SEL_TGT_CROP_BOUNDS, V4L2_SEL_TGT_COMPOSE_BOUNDS selection
targets are not supposed to be handled in the set_selection ioctl.
Remove the code that doesn't do anything sensible now and make sure
ctx->state is modified with the spinlock held.

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/s5p-fimc/fimc-capture.c