mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
net: rockchip_wlan: rtl8723cs: work around clang older than 11
/tmp/rtl8703b_phycfg-53954c.s: Assembler messages: /tmp/rtl8703b_phycfg-53954c.s:3071: Error: selected processor does not support `bfc w0,#4,#4' Signed-off-by: Wu Liangqing <wlq@rock-chips.com> Change-Id: Ia24c316c385b7b0bea2c1cb2a0d639cf0a0b17d9
This commit is contained in:
@@ -999,6 +999,7 @@ phy_GetSecondaryChnl_8703B(
|
||||
|
||||
}
|
||||
|
||||
barrier(); /* work around https://bugs.llvm.org/show_bug.cgi?id=42576 */
|
||||
return (SCSettingOf40 << 4) | SCSettingOf20;
|
||||
}
|
||||
|
||||
@@ -1279,4 +1280,4 @@ PHY_SetSwChnlBWMode8703B(
|
||||
PHY_HandleSwChnlAndSetBW8703B(Adapter, _TRUE, _TRUE, channel, Bandwidth, Offset40, Offset80, channel);
|
||||
|
||||
/* RTW_INFO("<==%s()\n",__FUNCTION__); */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user