mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
From be124487a2a863febd90c34af548c349a849017f Mon Sep 17 00:00:00 2001
|
|
From: Wright Feng <wright.feng@cypress.com>
|
|
Date: Mon, 17 Dec 2018 00:54:07 -0600
|
|
Subject: [PATCH 011/179] non-upstream: disable command decode in sdio_aos for
|
|
4356
|
|
|
|
AOS is a part of the SDIOD core that becomes active when the rest of
|
|
SDIOD is sleeping to keep SDIO bus alive responding to reduced set of
|
|
commands.
|
|
|
|
Transaction between AOS and SDIOD is not protected, and if cmd 52 is
|
|
received in AOS and in the middle of response state changed from AOS to
|
|
SDIOD, response is corrupted and it causes to SDIO Host controller to
|
|
hang.
|
|
|
|
Signed-off-by: Wright Feng <wright.feng@cypress.com>
|
|
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com>
|
|
---
|
|
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
|
|
index 786d6ab4ac53..77cc05d9a33d 100644
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
|
|
@@ -3423,7 +3423,9 @@ 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_43752_CHIP_ID)
|
|
+ bus->ci->chip == CY_CC_43752_CHIP_ID ||
|
|
+ bus->ci->chip == BRCM_CC_4354_CHIP_ID ||
|
|
+ bus->ci->chip == BRCM_CC_4356_CHIP_ID)
|
|
return true;
|
|
else
|
|
return false;
|
|
--
|
|
2.17.1
|
|
|