File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
drivers/net/wireless/intel/iwlwifi/fw Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -292,13 +292,6 @@ static void iwl_fwrt_dump_tcm_error_log(struct iwl_fw_runtime *fwrt)
292
292
for (i = 0 ; i < ARRAY_SIZE (table .sw_status ); i ++ )
293
293
IWL_ERR (fwrt , "0x%08X | tcm SW status[%d]\n" ,
294
294
table .sw_status [i ], i );
295
-
296
- if (trans -> trans_cfg -> device_family >= IWL_DEVICE_FAMILY_BZ ) {
297
- u32 scratch = iwl_read32 (trans , CSR_FUNC_SCRATCH );
298
-
299
- IWL_ERR (fwrt , "Function Scratch status:\n" );
300
- IWL_ERR (fwrt , "0x%08X | Func Scratch\n" , scratch );
301
- }
302
295
}
303
296
304
297
static void iwl_fwrt_dump_iml_error_log (struct iwl_fw_runtime * fwrt )
@@ -385,5 +378,12 @@ void iwl_fwrt_dump_error_logs(struct iwl_fw_runtime *fwrt)
385
378
iwl_fwrt_dump_tcm_error_log (fwrt );
386
379
iwl_fwrt_dump_iml_error_log (fwrt );
387
380
iwl_fwrt_dump_fseq_regs (fwrt );
381
+
382
+ if (fwrt -> trans -> trans_cfg -> device_family >= IWL_DEVICE_FAMILY_BZ ) {
383
+ u32 scratch = iwl_read32 (fwrt -> trans , CSR_FUNC_SCRATCH );
384
+
385
+ IWL_ERR (fwrt , "Function Scratch status:\n" );
386
+ IWL_ERR (fwrt , "0x%08X | Func Scratch\n" , scratch );
387
+ }
388
388
}
389
389
IWL_EXPORT_SYMBOL (iwl_fwrt_dump_error_logs );
You can’t perform that action at this time.
0 commit comments