diff options
author | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2007-11-19 23:23:17 +1000 |
---|---|---|
committer | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2007-11-19 23:23:17 +1000 |
commit | 92b2c2b2a16652e07af7aa5fa2ca3030aba14ab1 (patch) | |
tree | d0fa22ebd81cf89dcca3f7a6961bea5b2de5b6e3 /linux/drivers/media/video/tuner-xc2028.c | |
parent | 391dbb9228e610f769059193aaeb536ce85737d9 (diff) | |
download | mediapointer-dvb-s2-92b2c2b2a16652e07af7aa5fa2ca3030aba14ab1.tar.gz mediapointer-dvb-s2-92b2c2b2a16652e07af7aa5fa2ca3030aba14ab1.tar.bz2 |
xc2028: allow selection of D2633 firmware
From: Chris Pascoe <c.pascoe@itee.uq.edu.au>
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>
Diffstat (limited to 'linux/drivers/media/video/tuner-xc2028.c')
-rw-r--r-- | linux/drivers/media/video/tuner-xc2028.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c index 49f670e5a..50984bd23 100644 --- a/linux/drivers/media/video/tuner-xc2028.c +++ b/linux/drivers/media/video/tuner-xc2028.c @@ -680,9 +680,10 @@ static int check_firmware(struct dvb_frontend *fe, enum tuner_mode new_mode, tuner_dbg("I should change bandwidth %u\n", change_digital_bandwidth); if (change_digital_bandwidth) { - - /*FIXME: Should allow selecting between D2620 and D2633 */ - type |= D2620; + if (priv->ctrl.d2633) + type |= D2633; + else + type |= D2620; /* FIXME: When should select a DTV78 firmware? */ |