Skip to content

Commit 25e416f

Browse files
mitzchakMiriam-Rachel
authored andcommitted
wifi: iwlwifi: use correct function to read STEP_URM register
CNVI_PMU_STEP_FLOW is a PRPH register, not a UMAC PRPH register. Use iwl_read_prph() instead of iwl_read_umac_prph() to read it correctly. Signed-off-by: Moriya Itzchaki <moriya.itzchaki@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Link: https://patch.msgid.link/20260515151352.3a69fa2dbda7.I8d96635a9c06a835b05a10b6d66c8a9299676246@changeid Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
1 parent fb84b5c commit 25e416f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans-gen2.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,9 @@ void iwl_trans_pcie_gen2_fw_alive(struct iwl_trans *trans)
398398
mutex_unlock(&trans_pcie->mutex);
399399

400400
if (trans->mac_cfg->device_family >= IWL_DEVICE_FAMILY_BZ)
401-
trans->step_urm = !!(iwl_read_umac_prph(trans,
402-
CNVI_PMU_STEP_FLOW) &
403-
CNVI_PMU_STEP_FLOW_FORCE_URM);
401+
trans->step_urm = !!(iwl_read_prph(trans,
402+
CNVI_PMU_STEP_FLOW) &
403+
CNVI_PMU_STEP_FLOW_FORCE_URM);
404404
}
405405

406406
static bool iwl_pcie_set_ltr(struct iwl_trans *trans)

0 commit comments

Comments
 (0)