[media] stk-webcam: fix querycap and simplify s_input
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 10 Feb 2013 17:32:52 +0000 (14:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:42:12 +0000 (14:42 -0300)
commitb27763f0faad374e215a474389ff5949e0b40764
treed24a25141915e172ee725b1ce26e40765be5db19
parent89ea47069cc536f6ae6f428c89bcb960fea3eaff
[media] stk-webcam: fix querycap and simplify s_input

Add device_caps support to querycap, fill in bus_info correctly and
do not set the version field (let the core handle that).
Also simplify the s_input ioctl.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/stkwebcam/stk-webcam.c