diff options
author | Kalle Valo <kvalo@codeaurora.org> | 2021-08-26 20:28:16 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-08-26 11:08:32 -0700 |
commit | 9ebc2758d0bbed951511d1709be0717178ec2660 (patch) | |
tree | 899d3a683d87337dbfd2fb5c3bcd34c7b3d2e990 /drivers/net/mhi/net.c | |
parent | 75da63b7a13981e2b1972f4e3444108b05c6ceaf (diff) | |
download | lwn-9ebc2758d0bbed951511d1709be0717178ec2660.tar.gz lwn-9ebc2758d0bbed951511d1709be0717178ec2660.zip |
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>
Diffstat (limited to 'drivers/net/mhi/net.c')
-rw-r--r-- | drivers/net/mhi/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mhi/net.c b/drivers/net/mhi/net.c index 11be6bcdd551..e60e38c1f09d 100644 --- a/drivers/net/mhi/net.c +++ b/drivers/net/mhi/net.c @@ -335,7 +335,7 @@ static int mhi_net_newlink(void *ctxt, struct net_device *ndev, u32 if_id, u64_stats_init(&mhi_netdev->stats.tx_syncp); /* Start MHI channels */ - err = mhi_prepare_for_transfer(mhi_dev, 0); + err = mhi_prepare_for_transfer(mhi_dev); if (err) goto out_err; |