]> err.no Git - linux-2.6/commit
V4L/DVB (7469): Preparation for supporting new devices, cleanup and saneness
authorPatrick Boettcher <pb@linuxtv.org>
Sat, 29 Mar 2008 23:49:57 +0000 (20:49 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:56 +0000 (14:07 -0300)
commit6394cf53abc0b3a2db9e8b947ef5c77b16861ec8
tree6d442ab2e89d17ef963ee840ba50440e225f30cb
parent0b5afdd2ea5f52d260d1e42d43fb0fa09ec0da2f
V4L/DVB (7469): Preparation for supporting new devices, cleanup and saneness

To prepare the support for new device to the flexcop-family some preparation and cleanups was done + some saneness:

- created an i2c-adapter for each i2c-port available. Easier usage for devices with several device on different i2c-busses
- initialize i2c before doing the eeprom read
- changed the way to attach the different frontends, easier to read now
- enabled support for i2c-devices having no register address (1-byte access)

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/b2c2/flexcop-common.h
drivers/media/dvb/b2c2/flexcop-eeprom.c
drivers/media/dvb/b2c2/flexcop-fe-tuner.c
drivers/media/dvb/b2c2/flexcop-i2c.c
drivers/media/dvb/b2c2/flexcop-usb.c
drivers/media/dvb/b2c2/flexcop.c