Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c118cdb authored by Eran Harary's avatar Eran Harary Committed by Emmanuel Grumbach
Browse files

iwlwifi: mvm: don't write to DBGC_OUT_CTRL when stopping the recording



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: default avatarEran Harary <eran.harary@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 1f940386
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);