linux/drivers/media/usb/em28xx
Frank Schaefer a217968f91 [media] em28xx: do not store eeprom content permanently
We currently reserve an array of 256 bytes for the eeprom content in the device
struct. For eeproms with 16 bit address width it might even be necessary to
increase the buffer size further.
Having such a big chunk of memory reserved even if the device has no eeprom and
keeping it after it has already been processed seems to be a waste of memory.
Change the code to allocate + free the eeprom memory dynamically.
This also makes it possible to handle different dataset sizes depending on what
is stored/found in the eeprom.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-03-04 16:23:27 -03:00
..
em28xx-audio.c
em28xx-cards.c [media] em28xx: do not store eeprom content permanently 2013-03-04 16:23:27 -03:00
em28xx-core.c [media] em28xx: introduce #defines for the image quality default settings 2013-03-04 14:50:31 -03:00
em28xx-dvb.c [media] em28xx: simplify device state tracking 2013-01-05 01:09:39 -02:00
em28xx-i2c.c [media] em28xx: do not store eeprom content permanently 2013-03-04 16:23:27 -03:00
em28xx-input.c [media] em28xx: input: use common work_struct callback function for IR RC key polling 2013-02-05 20:43:16 -02:00
em28xx-reg.h [media] em28xx: introduce #defines for the image quality default settings 2013-03-04 14:50:31 -03:00
em28xx-vbi.c [media] em28xx: convert to videobuf2 2013-01-05 01:03:38 -02:00
em28xx-video.c [media] em28xx: bump driver version to 0.2.0 2013-03-04 14:52:50 -03:00
em28xx.h [media] em28xx: do not store eeprom content permanently 2013-03-04 16:23:27 -03:00
Kconfig [media] em28xx: convert to videobuf2 2013-01-05 01:03:38 -02:00
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00