The patch number 9923 was added via Devin Heitmueller <[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: Devin Heitmueller <[email protected]>
xc5000: remove init_fw option
The init_fw option was broken for the HVR-950q because we would call the reset
callback inside of dvb_attach() and the callback had not been setup yet.
Michael Krufky (who added the init_fw feature) says it's no longer required,
so just remove the option completely.
Thanks to user Zzeiss from #linuxtv chat for reporting the issue and
Michael Krufky <[email protected]> for proposing the fix.
Priority: normal
Signed-off-by: Devin Heitmueller <[email protected]>
Acked-by: Michael Krufky <[email protected]>
---
linux/drivers/media/common/tuners/xc5000.c | 7 -------
1 file changed, 7 deletions(-)
diff -r 95d2c94ec371 -r 757a1727758c linux/drivers/media/common/tuners/xc5000.c
--- a/linux/drivers/media/common/tuners/xc5000.c Tue Dec 16 21:35:23
2008 -0500
+++ b/linux/drivers/media/common/tuners/xc5000.c Wed Dec 17 00:25:00
2008 -0500
@@ -35,10 +35,6 @@ static int debug;
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Turn on/off debugging (default:off).");
-
-static int xc5000_load_fw_on_attach;
-module_param_named(init_fw, xc5000_load_fw_on_attach, int, 0644);
-MODULE_PARM_DESC(init_fw, "Load firmware during driver initialization.");
static DEFINE_MUTEX(xc5000_list_mutex);
static LIST_HEAD(hybrid_tuner_instance_list);
@@ -1036,9 +1032,6 @@ struct dvb_frontend *xc5000_attach(struc
memcpy(&fe->ops.tuner_ops, &xc5000_tuner_ops,
sizeof(struct dvb_tuner_ops));
- if (xc5000_load_fw_on_attach)
- xc5000_init(fe);
-
return fe;
fail:
mutex_unlock(&xc5000_list_mutex);
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/757a1727758c50f10559ed3d620c1286712c1704
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits