diff options
author | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2008-04-22 13:45:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:45 -0400 |
commit | 8765561fc88131bbc9a6246010c15b63595ec35e (patch) | |
tree | 305c2fe0c181e40ef9311c529c736e98914076e5 /drivers/media/video/cx88/cx88-dvb.c | |
parent | b3fb91d20ca111316854a166ff88b0c8c0f2388b (diff) |
V4L/DVB (7259): FusionHDTV DVB-T Pro tuning problem fixes
It seems that on this board, the demodulator provides the pullup on the I2C
bus, which means that calling i2c_gate_ctrl crashes the bus. Turn this off
and the xc3028 can talk OK. Also fix some GPIO related settings that
became more clear through working on this.
Some changes made by Mauro Chehab to allow merging it with some
other xc3028 patches.
Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index 591037d8d14f..ae2a0f5f0806 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -588,6 +588,14 @@ static int dvb_register(struct cx8802_dev *dev) | |||
588 | dev->dvb.frontend = dvb_attach(mt352_attach, | 588 | dev->dvb.frontend = dvb_attach(mt352_attach, |
589 | &dvico_fusionhdtv_mt352_xc3028, | 589 | &dvico_fusionhdtv_mt352_xc3028, |
590 | &dev->core->i2c_adap); | 590 | &dev->core->i2c_adap); |
591 | /* | ||
592 | * On this board, the demod provides the I2C bus pullup. | ||
593 | * We must not permit gate_ctrl to be performed, or | ||
594 | * the xc3028 cannot communicate on the bus. | ||
595 | */ | ||
596 | if (dev->dvb.frontend) | ||
597 | dev->dvb.frontend->ops.i2c_gate_ctrl = NULL; | ||
598 | |||
591 | attach_xc3028 = 1; | 599 | attach_xc3028 = 1; |
592 | break; | 600 | break; |
593 | case CX88_BOARD_PCHDTV_HD3000: | 601 | case CX88_BOARD_PCHDTV_HD3000: |