]> git.baikalelectronics.ru Git - 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)
commitb6154ac0c802f50874a2bcd356f5c14862e167be
tree24bf643f45f2dd288405a9bd18a30b75d23a0146
parenta987a5f8201d2bb4b66b099eddbdb626f04a9337
[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