Skip to content
Commit fb12777a authored by Kirtika Ruchandani's avatar Kirtika Ruchandani Committed by Luca Coelho
Browse files

iwlwifi: Add more call-sites for pcie reg dumper



Commit a6d24fad ("iwlwifi: pcie: dump registers when HW becomes
inaccessible") added a function to dump pcie config registers and
memory mapped registers on a failure. It is currently only accessible
within trans.c. Add it to struct iwl_trans_ops, so that failure cases
in other files can call it.  While there, add a call to this function
from iwl_pcie_load_firmware_chunk in pcie/tx.c, since this is a common
failure case seen on some platforms.

Signed-off-by: default avatarKirtika Ruchandani <kirtika@chromium.org>
[modified the commit message slightly]
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 4ae827ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment