[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190617175653.21756-2-dianders@chromium.org>
Date: Mon, 17 Jun 2019 10:56:49 -0700
From: Douglas Anderson <dianders@...omium.org>
To: Ulf Hansson <ulf.hansson@...aro.org>,
Kalle Valo <kvalo@...eaurora.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Arend van Spriel <arend.vanspriel@...adcom.com>
Cc: brcm80211-dev-list.pdl@...adcom.com,
linux-rockchip@...ts.infradead.org,
Double Lo <double.lo@...ress.com>, briannorris@...omium.org,
linux-wireless@...r.kernel.org,
Naveen Gupta <naveen.gupta@...ress.com>,
Madhan Mohan R <madhanmohan.r@...ress.com>, mka@...omium.org,
Wright Feng <wright.feng@...ress.com>,
Chi-Hsien Lin <chi-hsien.lin@...ress.com>,
netdev@...r.kernel.org, brcm80211-dev-list@...ress.com,
Douglas Anderson <dianders@...omium.org>,
Franky Lin <franky.lin@...adcom.com>,
linux-kernel@...r.kernel.org,
Hante Meuleman <hante.meuleman@...adcom.com>,
YueHaibing <yuehaibing@...wei.com>,
"David S. Miller" <davem@...emloft.net>
Subject: [PATCH v5 1/5] Revert "brcmfmac: disable command decode in sdio_aos"
This reverts commit 29f6589140a10ece8c1d73f58043ea5b3473ab3e.
After that patch landed I find that my kernel log on
rk3288-veyron-minnie and rk3288-veyron-speedy is filled with:
brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
This seems to happen every time the Broadcom WiFi transitions out of
sleep mode. Reverting the commit fixes the problem for me, so that's
what this patch does.
Note that, in general, the justification in the original commit seemed
a little weak. It looked like someone was testing on a SD card
controller that would sometimes die if there were CRC errors on the
bus. This used to happen back in early days of dw_mmc (the controller
on my boards), but we fixed it. Disabling a feature on all boards
just because one SD card controller is broken seems bad.
Fixes: 29f6589140a1 ("brcmfmac: disable command decode in sdio_aos")
Cc: Wright Feng <wright.feng@...ress.com>
Cc: Double Lo <double.lo@...ress.com>
Cc: Madhan Mohan R <madhanmohan.r@...ress.com>
Cc: Chi-Hsien Lin <chi-hsien.lin@...ress.com>
Signed-off-by: Douglas Anderson <dianders@...omium.org>
---
This commit to land in the wireless tree. OK to land it separately
from the rest of the series.
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- A full revert, not just a partial one (Arend). ...with explicit Cc.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
index 4e15ea57d4f5..4a750838d8cd 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
@@ -3364,11 +3364,7 @@ static int brcmf_sdio_download_firmware(struct brcmf_sdio *bus,
static bool brcmf_sdio_aos_no_decode(struct brcmf_sdio *bus)
{
- if (bus->ci->chip == CY_CC_43012_CHIP_ID ||
- bus->ci->chip == CY_CC_4373_CHIP_ID ||
- bus->ci->chip == BRCM_CC_4339_CHIP_ID ||
- bus->ci->chip == BRCM_CC_4345_CHIP_ID ||
- bus->ci->chip == BRCM_CC_4354_CHIP_ID)
+ if (bus->ci->chip == CY_CC_43012_CHIP_ID)
return true;
else
return false;
--
2.22.0.410.gd8fdbe21b5-goog
Powered by blists - more mailing lists