#Applies against: 2.6.17 #Signed-off-by: Uwe Bugla <uwe.bugla@xxxxxx> #Changes: wipe out uncommented material --- a/drivers/media/dvb/frontends/mt352.c 2006-03-20 06:53:00 +++ b/drivers/media/dvb/frontends/mt352.c 2006-05-27 19:43:00 @@ -274,20 +274,13 @@ default: return -EINVAL; } - - buf[0] = TPS_GIVEN_1; /* TPS_GIVEN_1 and following registers */ - buf[1] = msb(tps); /* TPS_GIVEN_(1|0) */ buf[2] = lsb(tps); - - buf[3] = 0x50; // old + buf[3] = 0x50; -// buf[3] = 0xf4; // pinnacle - mt352_calc_nominal_rate(state, op->bandwidth, buf+4); mt352_calc_input_freq(state, buf+6); state->config.pll_set(fe, param, buf+8); - mt352_write(fe, buf, sizeof(buf)); if (state->config.no_tuner) { /* start decoding */ @@ -410,19 +401,14 @@ { struct mt352_state* state = fe->demodulator_priv; int s0, s1, s3; - /* FIXME: - * * The MT352 design manual from Zarlink states (page 46-47): - * * Notes about the TUNER_GO register: - * * If the Read_Tuner_Byte (bit-1) is activated, then the tuner status * byte is copied from the tuner to the STATUS_3 register and * completion of the read operation is indicated by bit-5 of the * INTERRUPT_3 register. */ - if ((s0 = mt352_read_register(state, STATUS_0)) < 0) return -EREMOTEIO; if ((s1 = mt352_read_register(state, STATUS_1)) < 0) -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb