linux/drivers/media/usb/em28xx
Frank Schaefer 961717b41b [media] em28xx: fix usb alternate setting for analog and digital video endpoints > 0
The current code assumes that the analog + digital video endpoints are always at
interface number 0 when changing the alternate setting.
This seems to work fine for most existing devices.
However, at least the SpeedLink VAD Laplace webcam has the video endpoint on
interface number 3 (which fortunately doesn't cause any trouble because ist uses
bulk transfers only).
We already consider the actual interface number for audio endpoints, so
rename the the audio_ifnum variable and use it for all device types.
Also get get rid of a pointless (ifnum < 0) in em28xx-audio.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-01-14 19:24:38 -02:00
..
em28xx-audio.c [media] em28xx: fix usb alternate setting for analog and digital video endpoints > 0 2014-01-14 19:24:38 -02:00
em28xx-camera.c [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00
em28xx-cards.c [media] em28xx: fix usb alternate setting for analog and digital video endpoints > 0 2014-01-14 19:24:38 -02:00
em28xx-core.c [media] em28xx: push mutex down to extensions on .fini callback 2014-01-14 14:39:32 -02:00
em28xx-dvb.c [media] em28xx: fix usb alternate setting for analog and digital video endpoints > 0 2014-01-14 19:24:38 -02:00
em28xx-i2c.c [media] em28xx-i2c: add timeout debug information if i2c_debug enabled 2014-01-12 11:56:46 -02:00
em28xx-input.c [media] em28xx: print a message at disconnect 2014-01-14 14:38:11 -02:00
em28xx-reg.h [media] em28xx: fix I2S audio sample rate definitions and info output 2014-01-07 08:33:29 -02:00
em28xx-v4l.h [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00
em28xx-vbi.c [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00
em28xx-video.c [media] em28xx: fix usb alternate setting for analog and digital video endpoints > 0 2014-01-14 19:24:38 -02:00
em28xx.h [media] em28xx: fix usb alternate setting for analog and digital video endpoints > 0 2014-01-14 19:24:38 -02:00
Kconfig [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00
Makefile [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00