Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c71d4bc512dda42069c70219bd00315a91550367 Commit: c71d4bc512dda42069c70219bd00315a91550367 Parent: a1dcd9de648c8cf21abaeca7f77885665eed4117 Author: Mauro Carvalho Chehab <[EMAIL PROTECTED]> AuthorDate: Thu Nov 22 11:47:18 2007 -0300 Committer: Mauro Carvalho Chehab <[EMAIL PROTECTED]> CommitDate: Fri Jan 25 19:02:37 2008 -0200
V4L/DVB (6657): Fix standard selection for PAL/M, PAL/N, PAL/Nc and NTSC Those standards use 6 MHz firmware. Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- drivers/media/video/tuner-xc2028.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c index 429e81b..9118314 100644 --- a/drivers/media/video/tuner-xc2028.c +++ b/drivers/media/video/tuner-xc2028.c @@ -910,12 +910,18 @@ static int xc2028_set_tv_freq(struct dvb_frontend *fe, struct analog_parameters *p) { struct xc2028_data *priv = fe->tuner_priv; + fe_bandwidth_t bw; + + /* FIXME: Maybe there are more 6 MHz video standards */ + if (p->std & V4L2_STD_MN) + bw = BANDWIDTH_6_MHZ; + else + bw = BANDWIDTH_8_MHZ; tuner_dbg("%s called\n", __FUNCTION__); return generic_set_tv_freq(fe, 62500l * p->frequency, T_ANALOG_TV, - p->std, BANDWIDTH_8_MHZ); - /* XXX Are some analog standards 6MHz? */ + p->std, bw); } static int xc2028_set_params(struct dvb_frontend *fe, - 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