Revert "net: really fix the build..."
authorKalle Valo <kvalo@codeaurora.org>
Thu, 26 Aug 2021 17:28:16 +0000 (20:28 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 26 Aug 2021 18:08:32 +0000 (11:08 -0700)
commit9ebc2758d0bbed951511d1709be0717178ec2660
tree899d3a683d87337dbfd2fb5c3bcd34c7b3d2e990
parent75da63b7a13981e2b1972f4e3444108b05c6ceaf
Revert "net: really fix the build..."

This reverts commit ce78ffa3ef1681065ba451cfd545da6126f5ca88.

Wren and Nicolas reported that ath11k was failing to initialise QCA6390
Wi-Fi 6 device with error:

qcom_mhi_qrtr: probe of mhi0_IPCR failed with error -22

Commit ce78ffa3ef16 ("net: really fix the build..."), introduced in
v5.14-rc5, caused this regression in qrtr. Most likely all ath11k
devices are broken, but I only tested QCA6390. Let's revert the broken
commit so that ath11k works again.

Reported-by: Wren Turkal <wt@penguintechs.org>
Reported-by: Nicolas Schichan <nschichan@freebox.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210826172816.24478-1-kvalo@codeaurora.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/bus/mhi/core/internal.h
drivers/bus/mhi/core/main.c
drivers/net/mhi/net.c
drivers/net/wwan/mhi_wwan_ctrl.c
include/linux/mhi.h
net/qrtr/mhi.c