diff options
author | Michael Hunold <devnull@localhost> | 2003-01-05 18:49:58 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-01-05 18:49:58 +0000 |
commit | a721eb6c53f0402661b3549ec99701c15714beca (patch) | |
tree | 5f08873091cb7bca04c73c54a523401bed3513ce /linux/drivers | |
parent | dff7346d93620339a65fcf2dd8f94ead9ef20e43 (diff) | |
download | mediapointer-dvb-s2-a721eb6c53f0402661b3549ec99701c15714beca.tar.gz mediapointer-dvb-s2-a721eb6c53f0402661b3549ec99701c15714beca.tar.bz2 |
Enable the FE before dvb_register_i2c_bus(), otherwise it won't be
recognized directly after system bootoup. This one got lost when
I cleanup up the attach()/detach() logic.
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index f583af0e7..113e7d968 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -4243,6 +4243,10 @@ int av7110_attach (struct saa7146_dev* dev, struct saa7146_sub_info *info) av7110->dev=(struct saa7146_dev *)dev; dvb_register_adapter(&av7110->dvb_adapter, av7110->card_name); + /* the Siemens DVB needs this if you want to have the i2c chips + get recognized before the main driver is fully loaded */ + saa7146_write(dev, GPIO_CTRL, 0x500000); + saa7146_i2c_adapter_prepare(dev, NULL, SAA7146_I2C_BUS_BIT_RATE_3200); av7110->i2c_bus = dvb_register_i2c_bus (master_xfer, dev, av7110->dvb_adapter, 0); |