Skip to content

Commit ea5fbbc

Browse files
Ziyue ZhangMani-Sadhasivam
authored andcommitted
PCI: qcom: Fix macro typo for CURSOR
Correct a typo in the macro names GEN3_EQ_FMDC_MAX_PRE_CURSOR_DELTA and GEN3_EQ_FMDC_MAX_POST_CURSOR_DELTA. Signed-off-by: Ziyue Zhang <[email protected]> [mani: reworded description] Signed-off-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 37bf0f4 commit ea5fbbc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

drivers/pci/controller/dwc/pcie-designware.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@
133133
#define GEN3_EQ_FB_MODE_DIR_CHANGE_OFF 0x8AC
134134
#define GEN3_EQ_FMDC_T_MIN_PHASE23 GENMASK(4, 0)
135135
#define GEN3_EQ_FMDC_N_EVALS GENMASK(9, 5)
136-
#define GEN3_EQ_FMDC_MAX_PRE_CUSROR_DELTA GENMASK(13, 10)
137-
#define GEN3_EQ_FMDC_MAX_POST_CUSROR_DELTA GENMASK(17, 14)
136+
#define GEN3_EQ_FMDC_MAX_PRE_CURSOR_DELTA GENMASK(13, 10)
137+
#define GEN3_EQ_FMDC_MAX_POST_CURSOR_DELTA GENMASK(17, 14)
138138

139139
#define PCIE_PORT_MULTI_LANE_CTRL 0x8C0
140140
#define PORT_MLTI_UPCFG_SUPPORT BIT(7)

drivers/pci/controller/dwc/pcie-qcom-common.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ void qcom_pcie_common_set_equalization(struct dw_pcie *pci)
3838
reg = dw_pcie_readl_dbi(pci, GEN3_EQ_FB_MODE_DIR_CHANGE_OFF);
3939
reg &= ~(GEN3_EQ_FMDC_T_MIN_PHASE23 |
4040
GEN3_EQ_FMDC_N_EVALS |
41-
GEN3_EQ_FMDC_MAX_PRE_CUSROR_DELTA |
42-
GEN3_EQ_FMDC_MAX_POST_CUSROR_DELTA);
41+
GEN3_EQ_FMDC_MAX_PRE_CURSOR_DELTA |
42+
GEN3_EQ_FMDC_MAX_POST_CURSOR_DELTA);
4343
reg |= FIELD_PREP(GEN3_EQ_FMDC_T_MIN_PHASE23, 0x1) |
4444
FIELD_PREP(GEN3_EQ_FMDC_N_EVALS, 0xd) |
45-
FIELD_PREP(GEN3_EQ_FMDC_MAX_PRE_CUSROR_DELTA, 0x5) |
46-
FIELD_PREP(GEN3_EQ_FMDC_MAX_POST_CUSROR_DELTA, 0x5);
45+
FIELD_PREP(GEN3_EQ_FMDC_MAX_PRE_CURSOR_DELTA, 0x5) |
46+
FIELD_PREP(GEN3_EQ_FMDC_MAX_POST_CURSOR_DELTA, 0x5);
4747
dw_pcie_writel_dbi(pci, GEN3_EQ_FB_MODE_DIR_CHANGE_OFF, reg);
4848

4949
reg = dw_pcie_readl_dbi(pci, GEN3_EQ_CONTROL_OFF);

0 commit comments

Comments
 (0)