]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 20 Mar 2020 21:31:25 +0000 (16:31 -0500)
commitd94b5cda9732e65f80513161aff9e9fa0d938f65
treefe5ca1168cd79405caea81d6599970e459c04d28
parent46cf57599532ecec44f92d4e73759d478c920b50
rtw88: Use rtw_write8_set to set SYS_FUNC

BugLink: https://bugs.launchpad.net/bugs/1780590
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>
(cherry picked from commit a4835410995e0a15b40cd4ab13d19e680f5a2602)
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/wireless/realtek/rtw88/mac.c