diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-04-27 11:31:30 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:44:05 -0400 |
commit | 6bdcc6e6dbab8daffd05e5026486f34ba41a6c72 (patch) | |
tree | 6dba211678b10f4b2b622999445c275ed9a391d9 /drivers/media/video/cx88/cx88-dvb.c | |
parent | 26aed92289ae8caffeedebb3f841a9e0371119a9 (diff) |
V4L/DVB (5363): Dvb: Remove lgh06xf driver
The code of the dvb-pll driver and the lgh06xf driver is nearly
identical. The main difference is that the lgh06xf driver would set the
AGC TOP value on every tune call. The dvb-pll driver now has the ability
to set the AGC TOP when the front-end device is opened, which is a better
way to go about it. By using this ability of dvb-pll, the lgh06xf driver
is made unnecessary.
There is one other difference. dvb-pll will probe for the presence of an
I2C pll chip by doing a one byte read, the lgh06xf driver did not do
this. In some devices the PLL is not reachable over I2C at the timer the
tuner is attached. Some more initialization, such as firmware loading,
must take place first. None of the devices using a LG-H06xF should have
this problem.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
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 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index 4f5560285770..07ec81f57cdd 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include "cx22702.h" | 42 | #include "cx22702.h" |
43 | #include "or51132.h" | 43 | #include "or51132.h" |
44 | #include "lgdt330x.h" | 44 | #include "lgdt330x.h" |
45 | #include "lgh06xf.h" | ||
46 | #include "nxt200x.h" | 45 | #include "nxt200x.h" |
47 | #include "cx24123.h" | 46 | #include "cx24123.h" |
48 | #include "isl6421.h" | 47 | #include "isl6421.h" |
@@ -631,8 +630,9 @@ static int dvb_register(struct cx8802_dev *dev) | |||
631 | &fusionhdtv_5_gold, | 630 | &fusionhdtv_5_gold, |
632 | &dev->core->i2c_adap); | 631 | &dev->core->i2c_adap); |
633 | if (dev->dvb.frontend != NULL) { | 632 | if (dev->dvb.frontend != NULL) { |
634 | dvb_attach(lgh06xf_attach, dev->dvb.frontend, | 633 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
635 | &dev->core->i2c_adap); | 634 | &dev->core->i2c_adap, |
635 | &dvb_pll_lg_tdvs_h06xf); | ||
636 | } | 636 | } |
637 | } | 637 | } |
638 | break; | 638 | break; |
@@ -650,8 +650,9 @@ static int dvb_register(struct cx8802_dev *dev) | |||
650 | &pchdtv_hd5500, | 650 | &pchdtv_hd5500, |
651 | &dev->core->i2c_adap); | 651 | &dev->core->i2c_adap); |
652 | if (dev->dvb.frontend != NULL) { | 652 | if (dev->dvb.frontend != NULL) { |
653 | dvb_attach(lgh06xf_attach, dev->dvb.frontend, | 653 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
654 | &dev->core->i2c_adap); | 654 | &dev->core->i2c_adap, |
655 | &dvb_pll_lg_tdvs_h06xf); | ||
655 | } | 656 | } |
656 | } | 657 | } |
657 | break; | 658 | break; |