rtw89: read chip version depends on chip ID
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 7 Mar 2022 06:04:49 +0000 (14:04 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 10 Mar 2022 16:42:37 +0000 (18:42 +0200)
commita8bdac12048407d3ff519adf53c619f77147949a
tree3468bbd99bfbfd8db4c85238492228c9a33e028b
parente4133f269eb78211ab1ef7f35018092ac299c1a6
rtw89: read chip version depends on chip ID

Only 8852A may get wrong chip version if power isn't on, so it needs
additional actions to correct the version. Later chips don't need those.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220307060457.56789-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c