rtw88: Use rtw_write8_set to set SYS_FUNC
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Tue, 8 Oct 2019 08:20:58 +0000 (16:20 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 14 Oct 2019 09:10:49 +0000 (12:10 +0300)
commita4835410995e0a15b40cd4ab13d19e680f5a2602
tree51919c7b6a84bea3b3b72ab5d4b1f6e684344615
parent5dc32b8ace3754fab7f1c504e6e5dac6d0f7686d
rtw88: Use rtw_write8_set to set SYS_FUNC

rtw_write8 could modify the values that we do not want
to change, use rtw_write8_set instead to only enable the
bits of sys_func_en

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/mac.c