rtw89: Limit the CFO boundaries of x'tal value
authorYi-Tang Chiu <chiuyitang@realtek.com>
Fri, 18 Feb 2022 03:45:37 +0000 (11:45 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 22 Feb 2022 15:30:35 +0000 (17:30 +0200)
commita9e06f2e65c8637d3cca3d19acc5bde36ed72d6a
treea7caa68137ae43f3a73d7ee12c8a045d408c3c3c
parent94b70cafc661739ae8fec40a9ec35bdccf883d8b
rtw89: Limit the CFO boundaries of x'tal value

Set the boundaries of x'tal value to avoid extremely adjusted results,
causing severely unexpected CFO.

Signed-off-by: Yi-Tang Chiu <chiuyitang@realtek.com>
Signed-off-by: Yuan-Han Zhang <yuanhan1020@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220218034537.9338-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/phy.c
drivers/net/wireless/realtek/rtw89/phy.h