media: gspca: fix g/s_parm handling
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 12 May 2018 14:44:01 +0000 (10:44 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 28 May 2018 20:02:45 +0000 (16:02 -0400)
commitdf95e82f6b0db20615cf249aec653bcd79ea2b59
treecd1e408c77c03f0da73458ffc72f3841c89d8d5e
parent0d5615d3479fd165a4aca7f2dc3c418ffed3eb20
media: gspca: fix g/s_parm handling

Fix v4l2-compliance error: s_parm never set V4L2_CAP_TIMEPERFRAME.
Also various g/s_parm-related cleanups.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/gspca/gspca.c
drivers/media/usb/gspca/ov534.c
drivers/media/usb/gspca/topro.c