[media] vpif_capture: move input_idx to channel_obj
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 20 Sep 2012 12:06:22 +0000 (09:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 01:00:44 +0000 (22:00 -0300)
commit6f47c6c69cd45d9e57458e31528628af2d346f73
tree9536e765d297e2f6d603052cd3a5c92dfa14ae6d
parent3cfee2daf9fe9dc514c29f7e7fb35c17136771d2
[media] vpif_capture: move input_idx to channel_obj

input_idx does not belong to video_obj. Move it where it belongs.
Also remove the bogus code in the open() function that suddenly
changes the input to 0 for no reason.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Tested-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/vpif_capture.c
drivers/media/platform/davinci/vpif_capture.h