From 9be9e8f5f3abfe87c5ac7fe32b19e45f84782efe Mon Sep 17 00:00:00 2001 From: zzc Date: Mon, 17 Oct 2016 11:54:22 +0800 Subject: [PATCH] net: rkwifi: fix ap6330 sdio write/read abnormal when doing stress test Change-Id: I7c353cd4cabb24425aa0bdef243adb293e7c2829 Signed-off-by: zzc --- drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_sdio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_sdio.c b/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_sdio.c index 89344d5e4232..e7fea6764560 100755 --- a/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_sdio.c +++ b/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_sdio.c @@ -5353,6 +5353,10 @@ dhd_bus_init(dhd_pub_t *dhdp, bool enforce_mutex) else { + if (dhdp->conf->chip == BCM4354_CHIP_ID) { + ret = -1; + goto exit; + } /* Disable F2 again */ enable = SDIO_FUNC_ENABLE_1; bcmsdh_cfg_write(bus->sdh, SDIO_FUNC_0, SDIOD_CCCR_IOEN, enable, NULL); -- 2.34.1