diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-06-11 03:24:31 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:05:07 -0400 |
commit | c9ce394017162a90d79a4abc99eed3c7b2aed606 (patch) | |
tree | 53d9badd4990e7de98b640a5cc148366ccc1618c | |
parent | f14ac0bc455a255c48f9110080e8889c6d65cec2 (diff) |
V4L/DVB (4094): Cxusb: add support for DViCO FusionHDTV DVB-T Dual USB based on zl10353
This patch adds support for a newer version of this device
using the zl10353 frontend instead of the mt352 frontend.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/dvb/dvb-usb/Kconfig | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/cxusb.c | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/Kconfig b/drivers/media/dvb/dvb-usb/Kconfig index 5350e963c17b..3bc6722a6443 100644 --- a/drivers/media/dvb/dvb-usb/Kconfig +++ b/drivers/media/dvb/dvb-usb/Kconfig | |||
@@ -88,6 +88,7 @@ config DVB_USB_CXUSB | |||
88 | select DVB_CX22702 | 88 | select DVB_CX22702 |
89 | select DVB_LGDT330X | 89 | select DVB_LGDT330X |
90 | select DVB_MT352 | 90 | select DVB_MT352 |
91 | select DVB_ZL10353 | ||
91 | help | 92 | help |
92 | Say Y here to support the Conexant USB2.0 hybrid reference design. | 93 | Say Y here to support the Conexant USB2.0 hybrid reference design. |
93 | Currently, only DVB and ATSC modes are supported, analog mode | 94 | Currently, only DVB and ATSC modes are supported, analog mode |
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c index d0063ae120bd..ae23bdde42a8 100644 --- a/drivers/media/dvb/dvb-usb/cxusb.c +++ b/drivers/media/dvb/dvb-usb/cxusb.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include "lg_h06xf.h" | 30 | #include "lg_h06xf.h" |
31 | #include "mt352.h" | 31 | #include "mt352.h" |
32 | #include "mt352_priv.h" | 32 | #include "mt352_priv.h" |
33 | #include "zl10353.h" | ||
33 | 34 | ||
34 | /* debug */ | 35 | /* debug */ |
35 | int dvb_usb_cxusb_debug; | 36 | int dvb_usb_cxusb_debug; |
@@ -346,6 +347,10 @@ static struct mt352_config cxusb_dee1601_config = { | |||
346 | .demod_init = cxusb_dee1601_demod_init, | 347 | .demod_init = cxusb_dee1601_demod_init, |
347 | }; | 348 | }; |
348 | 349 | ||
350 | static struct zl10353_config cxusb_zl10353_dee1601_config = { | ||
351 | .demod_address = 0x0f, | ||
352 | }; | ||
353 | |||
349 | static struct mt352_config cxusb_mt352_config = { | 354 | static struct mt352_config cxusb_mt352_config = { |
350 | /* used in both lgz201 and th7579 */ | 355 | /* used in both lgz201 and th7579 */ |
351 | .demod_address = 0x0f, | 356 | .demod_address = 0x0f, |
@@ -443,7 +448,8 @@ static int cxusb_dee1601_frontend_attach(struct dvb_usb_device *d) | |||
443 | 448 | ||
444 | cxusb_ctrl_msg(d,CMD_DIGITAL, NULL, 0, NULL, 0); | 449 | cxusb_ctrl_msg(d,CMD_DIGITAL, NULL, 0, NULL, 0); |
445 | 450 | ||
446 | if ((d->fe = mt352_attach(&cxusb_dee1601_config, &d->i2c_adap)) != NULL) | 451 | if (((d->fe = mt352_attach(&cxusb_dee1601_config, &d->i2c_adap)) != NULL) || |
452 | ((d->fe = zl10353_attach(&cxusb_zl10353_dee1601_config, &d->i2c_adap)) != NULL)) | ||
447 | return 0; | 453 | return 0; |
448 | 454 | ||
449 | return -EIO; | 455 | return -EIO; |