iwlwifi: mvm: don't write to DBGC_OUT_CTRL when stopping the recording
authorEran Harary <eran.harary@intel.com>
Tue, 10 Feb 2015 07:25:50 +0000 (09:25 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 1 Mar 2015 14:55:11 +0000 (16:55 +0200)
Due to HW bug in the DBGC when driver want to stop the dbg recording it
should wait 100us before collecting the data instead of write 0 to
DBGC_OUT_CTRL.

Signed-off-by: Eran Harary <eran.harary@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw.c

index ca38e9817374cc6f4a462048c2d59a5244e33b1c..ab81124c6029760f9bdf8ebf2dad3a23ff50f860 100644 (file)
@@ -458,7 +458,8 @@ void iwl_mvm_fw_dbg_collect(struct iwl_mvm *mvm)
                iwl_set_bits_prph(mvm->trans, MON_BUFF_SAMPLE_CTL, 0x100);
        } else {
                iwl_write_prph(mvm->trans, DBGC_IN_SAMPLE, 0);
-               iwl_write_prph(mvm->trans, DBGC_OUT_CTRL, 0);
+               /* wait before we collect the data till the DBGC stop */
+               udelay(100);
        }
 
        schedule_work(&mvm->fw_error_dump_wk);
This page took 0.061778 seconds and 5 git commands to generate.