brcmfmac: fix 4339 CRC error under SDIO 3.0 SDR104 mode
authorDouble Lo <double.lo@cypress.com>
Fri, 29 May 2020 03:49:35 +0000 (22:49 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 May 2020 17:39:36 +0000 (20:39 +0300)
commit528158a8d4522bed5a35bb1a942638a79bca6acd
tree864fddf2dc2fef22b431e7959d39792b7c9d613c
parent2a7621ded321dfd70b5349bbfcd1af9e9df1f197
brcmfmac: fix 4339 CRC error under SDIO 3.0 SDR104 mode

This patch fixes 4339 CRC error while running Tput test with
suspend/resume test script.

The continuous failure messages before system crash:
brcmfmac: brcmf_sdiod_sglist_rw: CMD53 sg block read failed -84
brcmfmac: brcmf_sdio_rxglom: glom read of 25600 bytes failed: -5
brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame
brcmfmac: brcmf_sdiod_sglist_rw: CMD53 sg block read failed -84
brcmfmac: brcmf_sdio_rxglom: glom read of 24576 bytes failed: -5
brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame

Signed-off-by: Double Lo <double.lo@cypress.com>
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200529034938.124533-3-chi-hsien.lin@cypress.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c