mirror of
https://github.com/torvalds/linux.git
synced 2026-07-29 02:31:27 +02:00
wifi: rtw89: Fix rtw89_usb_ops_mac_pre_init() for RTL8922AU
Return early because RTL8922AU doesn't need to do anything here. Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/58bf4dc4-dd4d-4caa-b6c0-e90749769cea@gmail.com
This commit is contained in:
parent
6f46213403
commit
0cc43249ea
|
|
@ -756,6 +756,9 @@ static int rtw89_usb_ops_mac_pre_init(struct rtw89_dev *rtwdev)
|
|||
const struct rtw89_usb_info *info = rtwusb->info;
|
||||
u32 val32;
|
||||
|
||||
if (rtwdev->chip->chip_id == RTL8922A)
|
||||
return 0;
|
||||
|
||||
rtw89_write32_set(rtwdev, info->usb_host_request_2,
|
||||
B_AX_R_USBIO_MODE);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user