diff options
author | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2007-11-19 08:23:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:02:30 -0500 |
commit | 59a636e50f339f91880b3a1e395829c43cc6541a (patch) | |
tree | 2a850dd094d59c0ae9bada173113da70463c8857 | |
parent | d7b22c5cfef28d21051331622f9595993a083cc4 (diff) |
V4L/DVB (6645): xc2028: allow selection of D2633 firmware
Add a bit to select D2633 DTV firmware to struct xc2028_ctrl, so that it can
be enabled via .set_config.
Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/tuner-xc2028.c | 7 | ||||
-rw-r--r-- | drivers/media/video/tuner-xc2028.h | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c index fbaab68fd05c..a5efd5f6e57c 100644 --- a/drivers/media/video/tuner-xc2028.c +++ b/drivers/media/video/tuner-xc2028.c | |||
@@ -665,9 +665,10 @@ static int check_firmware(struct dvb_frontend *fe, enum tuner_mode new_mode, | |||
665 | tuner_dbg("I should change bandwidth %u\n", change_digital_bandwidth); | 665 | tuner_dbg("I should change bandwidth %u\n", change_digital_bandwidth); |
666 | 666 | ||
667 | if (change_digital_bandwidth) { | 667 | if (change_digital_bandwidth) { |
668 | 668 | if (priv->ctrl.d2633) | |
669 | /*FIXME: Should allow selecting between D2620 and D2633 */ | 669 | type |= D2633; |
670 | type |= D2620; | 670 | else |
671 | type |= D2620; | ||
671 | 672 | ||
672 | /* FIXME: When should select a DTV78 firmware? | 673 | /* FIXME: When should select a DTV78 firmware? |
673 | */ | 674 | */ |
diff --git a/drivers/media/video/tuner-xc2028.h b/drivers/media/video/tuner-xc2028.h index a20eeb4935d0..4edc4b735c84 100644 --- a/drivers/media/video/tuner-xc2028.h +++ b/drivers/media/video/tuner-xc2028.h | |||
@@ -20,6 +20,7 @@ struct xc2028_ctrl { | |||
20 | enum xc2028_firm_type type; | 20 | enum xc2028_firm_type type; |
21 | char *fname; | 21 | char *fname; |
22 | int max_len; | 22 | int max_len; |
23 | int d2633:1; | ||
23 | }; | 24 | }; |
24 | 25 | ||
25 | struct xc2028_config { | 26 | struct xc2028_config { |