]> 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)
commit61d5e4e157ead9a93cf97944c742bf67c2d276dc
treed24a25141915e172ee725b1ce26e40765be5db19
parent73a996847bc8bd9e5696098c7bc2f5dcef6a1d57
[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