Fix initialization in mxl5005s
PATCH 1/1 Fix initialization in mxl5005s
I think that the initialization in the mxl5005s driver is wrong.
Jose Alberto
linux/drivers/media/common/tuners/mxl5005s.c +4 -2
@@ -3912,7 +3912,10 @@static int mxl5005s_init (struct dvb_frontend *fe) { -dprintk (1 ,"%s()\n" , __func__); +struct mxl5005s_state *state = fe->tuner_priv; + +dprintk (1 ,"%s()\n" , __func__); + state->current_mode =MXL_QAM ;return mxl5005s_reconfigure (fe,MXL_QAM ,MXL5005S_BANDWIDTH_6MHZ ); }
@@ -4094,7 +4097,6 @@ state->frontend = fe; state->config = config; state->i2c = i2c; - state->current_mode =MXL_QAM ;printk (KERN_INFO "MXL5005S: Attached at address 0x%02x\n" , config->i2c_address);
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 1 line · Jose Alberto Reguero
I think that the initialization in the mxl5005s driver is wrong.
Great, thanks. :)
I'm curious, why do you think it's wrong? It _could_ actually be wrong, but I'd like to understand your rationale and testing. In principle this patch shouldn't matter, the tuner should get reconfigured if the caller requests anything other than QAM.
Which board are you testing, and what configuration is the tuner expected to be running in?
Regards,
Steve
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb