linux/drivers/media/usb/em28xx
Frank Schaefer 90271964c9 [media] em28xx: consider the message length limitation of the i2c adapter when reading the eeprom
EEPROMs are currently read in blocks of 16 bytes, but the em2800 is limited
to 4 bytes per read. All other chip variants support reading of max. 64 bytes
at once (according to the em258x datasheet; also verified with em2710, em2882,
and em28174).
Since em2800_i2c_recv_bytes() has been fixed to return with -EOPNOTSUPP when
more than 4 bytes are requested, EEPROM reading with this chip is broken.
It was actually broken before that change, too, it just didn't throw an error
because the i2c adapter silently returned trash data (for all reads >1 byte !).

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-01-05 01:19:11 -02:00
..
em28xx-audio.c
em28xx-cards.c [media] em28xx: refactor the code in em28xx_usb_disconnect() 2013-01-05 01:10:13 -02:00
em28xx-core.c [media] em28xx: fix+improve+unify i2c error handling, debug messages and code comments 2013-01-05 01:18:25 -02:00
em28xx-dvb.c [media] em28xx: simplify device state tracking 2013-01-05 01:09:39 -02:00
em28xx-i2c.c [media] em28xx: consider the message length limitation of the i2c adapter when reading the eeprom 2013-01-05 01:19:11 -02:00
em28xx-input.c [media] em28xx: IR RC: move assignment of get_key functions from *_change_protocol() functions to em28xx_ir_init() 2013-01-05 01:12:11 -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: convert to videobuf2 2013-01-05 01:03:38 -02:00
em28xx-video.c [media] em28xx: simplify device state tracking 2013-01-05 01:09:39 -02:00
em28xx.h [media] em28xx: fix two severe bugs in function em2800_i2c_recv_bytes() 2013-01-05 01:16:01 -02:00
Kconfig [media] em28xx: convert to videobuf2 2013-01-05 01:03:38 -02:00
Makefile