linux/drivers/media
Patrice Chotard 7106225a9e [media] gspca - main: Add endpoint direction test in alt_xfer
This patch fixes a bug in gspca, more precisely in alt_xfer().

This function looks for an input transfer endpoint in an alternate setting.
By default it returns the first endpoint corresponding to the transfer type
indicated in parameter.
But with some USB devices, the first endpoint corresponding to the transfer
type is not always an INPUT endpoint but an OUTPUT one.

This patch adds the endpoint direction test to be sure to return an INPUT endpoint

Signed-off-by: Patrice CHOTARD <patricechotard@free.fr>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-03-22 16:38:26 -03:00
..
common [media] tuner-xc2028.c: fix compile warning 2011-03-22 04:53:58 -03:00
dvb [media] stv0367: typo in function parameter 2011-03-22 16:37:51 -03:00
radio [media] dsbr100: ensure correct disconnect sequence 2011-03-22 16:38:09 -03:00
rc [media] Change to 32 bit and add other remote controls for lme2510 2011-03-22 16:37:48 -03:00
video [media] gspca - main: Add endpoint direction test in alt_xfer 2011-03-22 16:38:26 -03:00
Kconfig [media] v4l: Create v4l2 subdev file handle structure 2011-03-22 04:53:26 -03:00
Makefile [media] media: Entities, pads and links 2011-03-22 04:53:10 -03:00
media-device.c [media] media: Links setup 2011-03-22 04:53:16 -03:00
media-devnode.c [media] media: Media device node support 2011-03-22 04:52:22 -03:00
media-entity.c [media] media: Pipelines and media streams 2011-03-22 04:53:17 -03:00