Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=59a636e50f339f91880b3a1e395829c43cc6541a Commit: 59a636e50f339f91880b3a1e395829c43cc6541a Parent: d7b22c5cfef28d21051331622f9595993a083cc4 Author: Chris Pascoe <[EMAIL PROTECTED]> AuthorDate: Mon Nov 19 10:23:17 2007 -0300 Committer: Mauro Carvalho Chehab <[EMAIL PROTECTED]> CommitDate: Fri Jan 25 19:02:30 2008 -0200
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 <[EMAIL PROTECTED]> Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/tuner-xc2028.c | 7 ++++--- 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 fbaab68..a5efd5f 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, 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? */ diff --git a/drivers/media/video/tuner-xc2028.h b/drivers/media/video/tuner-xc2028.h index a20eeb4..4edc4b7 100644 --- a/drivers/media/video/tuner-xc2028.h +++ b/drivers/media/video/tuner-xc2028.h @@ -20,6 +20,7 @@ struct xc2028_ctrl { enum xc2028_firm_type type; char *fname; int max_len; + int d2633:1; }; struct xc2028_config { - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html