public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* cx22702.c, 2.6.13-rc3 and a pci Hauppauge Nova-T DVB-T TV card
@ 2005-07-15  9:13 Andrew Benton
  2005-07-15 11:09 ` Johannes Stezenbach
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Benton @ 2005-07-15  9:13 UTC (permalink / raw)
  To: linux-kernel

Hello,
My pci TV card (a Hauppauge Nova-T DVB-T) works fine with a 2.6.13-rc2 kernel but won't work with a 2.6.13-rc3 by a process of elimination I've found that if I reverse this part of the 2.6.13-rc3 patch the card works fine. Please do not include this in the 2.6.13 kernel.

diff --git a/drivers/media/dvb/frontends/cx22702.c b/drivers/media/dvb/frontends/cx22702.c
--- a/drivers/media/dvb/frontends/cx22702.c
+++ b/drivers/media/dvb/frontends/cx22702.c
@@ -76,7 +76,6 @@ static u8 init_tab [] = {
 	0x49, 0x56,
 	0x6b, 0x1e,
 	0xc8, 0x02,
-	0xf8, 0x02,
 	0xf9, 0x00,
 	0xfa, 0x00,
 	0xfb, 0x00,
@@ -347,10 +346,11 @@ static int cx22702_init (struct dvb_fron
 	for (i=0; i<sizeof(init_tab); i+=2)
 		cx22702_writereg (state, init_tab[i], init_tab[i+1]);
 
+	cx22702_writereg (state, 0xf8, (state->config->output_mode << 1) & 0x02);
 
 	/* init PLL */
 	if (state->config->pll_init) {
-	        cx22702_writereg (state, 0x0D, cx22702_readreg(state,0x0D) &0xfe);
+		cx22702_writereg (state, 0x0D, cx22702_readreg(state,0x0D) & 0xfe);
 		state->config->pll_init(fe);
 		cx22702_writereg (state, 0x0D, cx22702_readreg(state,0x0D) | 1);
 	}

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-07-15 14:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-15  9:13 cx22702.c, 2.6.13-rc3 and a pci Hauppauge Nova-T DVB-T TV card Andrew Benton
2005-07-15 11:09 ` Johannes Stezenbach
2005-07-15 11:11   ` Patrick Boettcher
2005-07-15 11:36     ` Mauro Carvalho Chehab
2005-07-15 12:57     ` Andrew Benton
2005-07-15 13:01       ` Patrick Boettcher
2005-07-15 13:29         ` Mauro Carvalho Chehab
2005-07-15 13:34           ` Patrick Boettcher
2005-07-15 14:47         ` Andrew Benton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox