Skip to content

Commit 37f0205

Browse files
Alex Elderkuba-moo
authored andcommitted
net: ipa: fix one GSI register field width
The width of the R_LENGTH field of the EV_CH_E_CNTXT_1 GSI register is 24 bits (not 20 bits) starting with IPA v5.0. Fix this. Fixes: faf0678 ("net: ipa: add IPA v5.0 GSI register definitions") Signed-off-by: Alex Elder <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 53f2cb4 commit 37f0205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ipa/reg/gsi_reg-v5.0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ REG_STRIDE_FIELDS(EV_CH_E_CNTXT_0, ev_ch_e_cntxt_0,
7878
0x0001c000 + 0x12000 * GSI_EE_AP, 0x80);
7979

8080
static const u32 reg_ev_ch_e_cntxt_1_fmask[] = {
81-
[R_LENGTH] = GENMASK(19, 0),
81+
[R_LENGTH] = GENMASK(23, 0),
8282
};
8383

8484
REG_STRIDE_FIELDS(EV_CH_E_CNTXT_1, ev_ch_e_cntxt_1,

0 commit comments

Comments
 (0)