The patch number 9272 was added via Steven Toth <[EMAIL PROTECTED]> to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward compatible with older kernels. Compatibility modifications will be removed before inclusion into the mainstream Kernel If anyone has any objections, please let us know by sending a message to: [EMAIL PROTECTED] ------ From: Jose Alberto Reguero <[EMAIL PROTECTED]> mxl5005s: Bug fix stopped DVB-T from working the second time around. Jose reported: I am using a Avermedia Volar X with af9015 driver(DVB-T). The first time you use the card, first call reconfigure with MXL_QAM, and when tune DVB-T it calls reconfigure with MXL_DVBT. But if you close the frontend and open again, it calls reconfigure with MXL_QAM, but not call reconfigure with MXL_DVBT because state->current_mode don't change(is MXL_DVBT). Priority: normal Signed-off-by: Jose Alberto Reguero <[EMAIL PROTECTED]> Signed-off-by: Steven Toth <[EMAIL PROTECTED]> --- linux/drivers/media/common/tuners/mxl5005s.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -r 17e6dcc6e601 -r 3bd0023d43f6 linux/drivers/media/common/tuners/mxl5005s.c --- a/linux/drivers/media/common/tuners/mxl5005s.c Thu Oct 16 00:26:34 2008 +0100 +++ b/linux/drivers/media/common/tuners/mxl5005s.c Mon Oct 13 17:23:49 2008 -0400 @@ -3914,7 +3914,10 @@ static int mxl5005s_writeregs(struct dvb static int mxl5005s_init(struct dvb_frontend *fe) { + 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); } @@ -4096,7 +4099,6 @@ struct dvb_frontend *mxl5005s_attach(str 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); --- Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/3bd0023d43f69381a19c45ae2bb8750a888922d6 _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits