From: Matthias Benesch Date: Sat, 19 Dec 2009 15:57:16 +0000 (-0300) Subject: V4L/DVB: ngene: Remove firmware debugging X-Git-Tag: firefly_0821_release~9833^2~3102^2~131 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=adc1d21eec74afbd38a9099f4aff4bcd5b9eaea2;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab --- 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; 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));