aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Benesch <twoof7@freenet.de>2009-12-19 10:57:16 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 13:10:53 -0500
commitadc1d21eec74afbd38a9099f4aff4bcd5b9eaea2 (patch)
treeb6ec506474bc5eccdd1cf5c570d12598554e6071
parent8bba2607f1927cf3166a64dfd4e4c38a2e3af990 (diff)
V4L/DVB: ngene: Remove firmware debugging
Remove firmware debugging, because setting ngene_fw_debug and requesting firmware from file causes a kernel error. Signed-off-by: Matthias Benesch <twoof7@freenet.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/ngene/ngene-core.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c
index 0e0c01396ced..cf12bff57440 100644
--- a/drivers/media/dvb/ngene/ngene-core.c
+++ b/drivers/media/dvb/ngene/ngene-core.c
@@ -56,10 +56,6 @@ static int copy_eeprom;
56module_param(copy_eeprom, int, 0444); 56module_param(copy_eeprom, int, 0444);
57MODULE_PARM_DESC(copy_eeprom, "Copy eeprom."); 57MODULE_PARM_DESC(copy_eeprom, "Copy eeprom.");
58 58
59static int ngene_fw_debug;
60module_param(ngene_fw_debug, int, 0444);
61MODULE_PARM_DESC(ngene_fw_debug, "Debug firmware.");
62
63static int debug; 59static int debug;
64module_param(debug, int, 0444); 60module_param(debug, int, 0444);
65MODULE_PARM_DESC(debug, "Print debugging information."); 61MODULE_PARM_DESC(debug, "Print debugging information.");
@@ -435,7 +431,6 @@ static int ngene_command_load_firmware(struct ngene *dev,
435 cleft - FIRSTCHUNK); 431 cleft - FIRSTCHUNK);
436 cleft = FIRSTCHUNK; 432 cleft = FIRSTCHUNK;
437 } 433 }
438 ngene_fw[FW_DEBUG_DEFAULT - PROGRAM_SRAM] = ngene_fw_debug;
439 ngcpyto(DATA_FIFO_AREA, ngene_fw, cleft); 434 ngcpyto(DATA_FIFO_AREA, ngene_fw, cleft);
440 435
441 memset(&com, 0, sizeof(struct ngene_command)); 436 memset(&com, 0, sizeof(struct ngene_command));