Skip to content

Commit

Permalink
rtw88: Fix misuse of GENMASK macro
Browse files Browse the repository at this point in the history
Arguments are supposed to be ordered high then low.

Signed-off-by: Joe Perches <[email protected]>
Acked-by: Yan-Hsuan Chuang <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
  • Loading branch information
JoePerches authored and Kalle Valo committed Jul 24, 2019
1 parent c032461 commit 5ff29d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/realtek/rtw88/rtw8822b.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ static void rtw8822b_do_iqk(struct rtw_dev *rtwdev)
rtw_write_rf(rtwdev, RF_PATH_A, RF_DTXLOK, RFREG_MASK, 0x0);

reload = !!rtw_read32_mask(rtwdev, REG_IQKFAILMSK, BIT(16));
iqk_fail_mask = rtw_read32_mask(rtwdev, REG_IQKFAILMSK, GENMASK(0, 7));
iqk_fail_mask = rtw_read32_mask(rtwdev, REG_IQKFAILMSK, GENMASK(7, 0));
rtw_dbg(rtwdev, RTW_DBG_PHY,
"iqk counter=%d reload=%d do_iqk_cnt=%d n_iqk_fail(mask)=0x%02x\n",
counter, reload, ++do_iqk_cnt, iqk_fail_mask);
Expand Down

0 comments on commit 5ff29d8

Please sign in to comment.