2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/drivers/media/usb/em28xx
Frank Schaefer c647a91a25 [media] em28xx: improve USB endpoint logic, also use bulk transfers
The current enpoint logic ignores all bulk endpoints and uses
a fixed mapping between endpint addresses and the supported
data stream types (analog/audio/DVB):
  Ep 0x82, isoc	=> analog
  Ep 0x83, isoc	=> audio
  Ep 0x84, isoc	=> DVB
Now that the code can also do bulk transfers, the endpoint
logic has to be extended to also consider bulk endpoints.
The new logic preserves backwards compatibility and reflects
the endpoint configurations we have seen so far:
  Ep 0x82, isoc		=> analog
  Ep 0x82, bulk		=> analog
  Ep 0x83, isoc*	=> audio
  Ep 0x84, isoc		=> digital
  Ep 0x84, bulk		=> analog or digital**
 (*: audio should always be isoc)
 (**: analog, if ep 0x82 is isoc, otherwise digital)

[mchehab@redhat.com: Fix a CodingStyle issue: don't break strings
 into separate lines]

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-12-22 18:17:52 -02:00
..
em28xx-audio.c
em28xx-cards.c [media] em28xx: improve USB endpoint logic, also use bulk transfers 2012-12-22 18:17:52 -02:00
em28xx-core.c [media] em28xx: improve USB endpoint logic, also use bulk transfers 2012-12-22 18:17:52 -02:00
em28xx-dvb.c [media] em28xx: improve USB endpoint logic, also use bulk transfers 2012-12-22 18:17:52 -02:00
em28xx-i2c.c
em28xx-input.c [media] em28xx: input: fix oops on device removal 2012-12-22 16:14:37 -02:00
em28xx-reg.h [media] em28xx: improve USB endpoint logic, also use bulk transfers 2012-12-22 18:17:52 -02:00
em28xx-vbi.c [media] em28xx: rename struct em28xx_usb_isoc_ctl to em28xx_usb_ctl 2012-12-22 17:56:49 -02:00
em28xx-video.c [media] em28xx: improve USB endpoint logic, also use bulk transfers 2012-12-22 18:17:52 -02:00
em28xx.h [media] em28xx: improve USB endpoint logic, also use bulk transfers 2012-12-22 18:17:52 -02:00
Kconfig em28xx: add two missing tuners at the Kconfig file 2012-12-21 21:14:41 -02:00
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00