linux_dsm_epyc7002/drivers/media/video/gspca/stv06xx
Hans de Goede c0b33bdc5b [media] gspca-stv06xx: support bandwidth changing
stv06xx devices have only one altsetting, but the actual used
bandwidth can be programmed through a register. We were already
setting this register lower then the max packetsize of the altsetting
indicates. This patch makes the gspca-stv06xx update the usb descriptor
for the alt setting to reflect the actual packetsize in use, so that
the usb subsystem uses the correct information for scheduling usb transfers.

This patch also tries to fallback to lower speeds in case a ENOSPC error
is received when submitting urbs, but currently this is only supported
with stv06xx cams with the pb0100 sensor, as this is the only one for
which we know how to change the framerate.

This patch is based on an initial incomplete patch by
Lee Jones <lee.jones@canonical.com>

Signed-off-by: Lee Jones <lee.jones@canonical.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-12-29 08:16:40 -02:00
..
Kconfig V4L/DVB (10048): gspca - stv06xx: New subdriver. 2008-12-30 09:40:06 -02:00
Makefile V4L/DVB (12082): gspca_stv06xx: Add support for st6422 bridge and sensor 2009-06-23 03:13:11 -03:00
stv06xx_hdcs.c [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
stv06xx_hdcs.h [media] gspca-stv06xx: support bandwidth changing 2010-12-29 08:16:40 -02:00
stv06xx_pb0100.c [media] gspca-stv06xx: support bandwidth changing 2010-12-29 08:16:40 -02:00
stv06xx_pb0100.h [media] gspca-stv06xx: support bandwidth changing 2010-12-29 08:16:40 -02:00
stv06xx_sensor.h [media] gspca-stv06xx: support bandwidth changing 2010-12-29 08:16:40 -02:00
stv06xx_st6422.c [media] gspca-stv06xx: support bandwidth changing 2010-12-29 08:16:40 -02:00
stv06xx_st6422.h [media] gspca-stv06xx: support bandwidth changing 2010-12-29 08:16:40 -02:00
stv06xx_vv6410.c [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00
stv06xx_vv6410.h [media] gspca-stv06xx: support bandwidth changing 2010-12-29 08:16:40 -02:00
stv06xx.c [media] gspca-stv06xx: support bandwidth changing 2010-12-29 08:16:40 -02:00
stv06xx.h [media] gspca: Fix coding style issues 2010-10-21 14:50:06 -02:00