V4L/DVB: ngene: Remove firmware debugging
authorMatthias Benesch <twoof7@freenet.de>
Sat, 19 Dec 2009 15:57:16 +0000 (12:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:53 +0000 (15:10 -0300)
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>
drivers/media/dvb/ngene/ngene-core.c

index 0e0c01396cedb42bac6530a83b60bce0a8706a31..cf12bff57440adb1391d4845919b06a159539b0c 100644 (file)
@@ -56,10 +56,6 @@ static int copy_eeprom;
 module_param(copy_eeprom, int, 0444);
 MODULE_PARM_DESC(copy_eeprom, "Copy eeprom.");
 
-static int ngene_fw_debug;
-module_param(ngene_fw_debug, int, 0444);
-MODULE_PARM_DESC(ngene_fw_debug, "Debug firmware.");
-
 static int debug;
 module_param(debug, int, 0444);
 MODULE_PARM_DESC(debug, "Print debugging information.");
@@ -435,7 +431,6 @@ static int ngene_command_load_firmware(struct ngene *dev,
                        cleft - FIRSTCHUNK);
                cleft = FIRSTCHUNK;
        }
-       ngene_fw[FW_DEBUG_DEFAULT - PROGRAM_SRAM] = ngene_fw_debug;
        ngcpyto(DATA_FIFO_AREA, ngene_fw, cleft);
 
        memset(&com, 0, sizeof(struct ngene_command));