diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-15 02:43:03 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-15 02:43:03 +0000 |
commit | 9ca80dc4f0206c43b06abe9a42637b5e634874f5 (patch) | |
tree | ba69f6cb6f081879e03fe48af2b621026df2f953 /linux/drivers/media/video/tveeprom.c | |
parent | 91d384425a9324c328c5f2c3e648d40ddfc76c19 (diff) | |
download | mediapointer-dvb-s2-9ca80dc4f0206c43b06abe9a42637b5e634874f5.tar.gz mediapointer-dvb-s2-9ca80dc4f0206c43b06abe9a42637b5e634874f5.tar.bz2 |
I2C API has changed on 2.6.12-rc6-mm1: I2C_CLIENT_INSMOD macro now doesn't
require nor uses normal_i2c_range. A new define (CONFIG_USE_I2C_RANGE) is
provided to provide compatibility. It is meant to be replaced by a kernel
version test after aplyed to mainstream. This patch corrects it.
High precision tunning on Radio is correclty supported. Some radio apps already
uses it. There's an auto-detection process to check tuner range.
Detailed info:
* Make.config, Makefile, tuner-core.c:
- CONFIG_TUNER_MULTI_I2C dropped from tuner-core.c and included on Make.config
- included CONFIG_USE_I2C_RANGE for kernels that requires normal_i2c_range struct
(only kernels after 2.6.12-rc6-mm1 doesn't require).
* bt832.c, msp3400.c, saa6752hs.c, tda7432.c, tda9875.c, tda9887.c, tuner-core.c,tvaudio.c,
tveeprom.c,
- I2C range detection corrected to new behavior of 2.6.12-rc6-mm1
* cx88-video.c, tea5767, tuner-core.c:
- V4L2_TUNER_CAP_LOW implemented according with V4L2 API for Radio.
- tea5767 debug improved.
* .bp/2.6/v4l-driver-doc
- typo corrected.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/tveeprom.c')
-rw-r--r-- | linux/drivers/media/video/tveeprom.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tveeprom.c b/linux/drivers/media/video/tveeprom.c index faee59184..a82d43965 100644 --- a/linux/drivers/media/video/tveeprom.c +++ b/linux/drivers/media/video/tveeprom.c @@ -483,7 +483,10 @@ static unsigned short normal_i2c[] = { 0xa0 >> 1, I2C_CLIENT_END, }; +#ifdef CONFIG_USE_I2C_RANGE static unsigned short normal_i2c_range[] = { I2C_CLIENT_END }; +#endif + I2C_CLIENT_INSMOD; struct i2c_driver i2c_driver_tveeprom; |