diff mbox

[v3] tuner_xc2028: Allow selection of the frequency adjustment code for XC3028

Message ID 4E31BACE.2060809@redhat.com (mailing list archive)
State Accepted
Headers show

Commit Message

Mauro Carvalho Chehab July 28, 2011, 7:38 p.m. UTC
Alina,

Em 22-07-2011 15:35, Alina Friedrichsen escreveu:
> Since many, many kernel releases my Hauppauge WinTV HVR-1400 doesn't work
> anymore, and nobody feels responsible to fix it.

Could you please check if the enclosed patch fixes the tuner issue?

Use it instead of the patch you've made. If it doesn't work, please send us
the dmesg logs with tuner-xc2028 debug enabled.

Thanks!
Mauro

-

cx23885-dvb: Fix demod IF

This device is not using the proper demod IF. Instead of using the
IF macro, it is specifying a IF frequency. This doesn't work, as xc3028
needs to load an specific SCODE for the tuner. In this case, there's
no IF table for 5 MHz.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>



--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Alina Friedrichsen July 29, 2011, 6:49 a.m. UTC | #1
Hi Mauro and Devin,

first I'm a she.

> Could you please check if the enclosed patch fixes the tuner issue?
> 
> Use it instead of the patch you've made. If it doesn't work, please send
> us
> the dmesg logs with tuner-xc2028 debug enabled.

Great, it works! :)
Much, much thanks.

Please let this patch upstream as fast as possible.

Regards,
Alina
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index ad2fd13..168142e 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -844,7 +844,7 @@  static int dvb_register(struct cx23885_tsport *port)
 			static struct xc2028_ctrl ctl = {
 				.fname   = XC3028L_DEFAULT_FIRMWARE,
 				.max_len = 64,
-				.demod   = 5000,
+				.demod   = XC3028_FE_DIBCOM52,
 				/* This is true for all demods with
 					v36 firmware? */
 				.type    = XC2028_D2633,