mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
37 lines
1.5 KiB
Diff
37 lines
1.5 KiB
Diff
From c7935ce4be334d9d4ca2766c1a38058e3d85d12a Mon Sep 17 00:00:00 2001
|
|
From: Chi-Hsien Lin <chi-hsien.lin@cypress.com>
|
|
Date: Fri, 13 Mar 2020 03:15:29 -0500
|
|
Subject: [PATCH 041/179] non-upstream: disable command decode in sdio_aos for
|
|
43455
|
|
|
|
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 | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
|
|
index c184a745b7c2..f7c449f5c83e 100644
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
|
|
@@ -3623,6 +3623,7 @@ static bool brcmf_sdio_aos_no_decode(struct brcmf_sdio *bus)
|
|
bus->ci->chip == CY_CC_43752_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 ||
|
|
bus->ci->chip == BRCM_CC_4356_CHIP_ID)
|
|
return true;
|
|
--
|
|
2.17.1
|
|
|