]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit92fccd4aa6aa52d3196f5559ed742b98e72c274d
treed24a25141915e172ee725b1ce26e40765be5db19
parent9607de6c227b475187fb15cb38e2137fc47034db
[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