diff options
author | 2016-09-05 11:42:13 +0100 | |
---|---|---|
committer | 2016-09-09 12:12:15 +0300 | |
commit | 5251b6be8bb5c5675bdf12347c7b83937a5c91e5 (patch) | |
tree | e1886c189a6c6b87c41ac3e5f5d905e4059d4a1d /tools/perf/scripts/python/stackcollapse.py | |
parent | brcmfmac: add support for bcm4339 chip with modalias sdio:c00v02D0d4339 (diff) | |
download | wireguard-linux-5251b6be8bb5c5675bdf12347c7b83937a5c91e5.tar.xz wireguard-linux-5251b6be8bb5c5675bdf12347c7b83937a5c91e5.zip |
brcmfmac: sdio: shorten retry loop in brcmf_sdio_kso_control()
In brcmf_sdio_kso_control() there is a retry loop as hardware may take
time to settle. However, when the call to brcmf_sdiod_regrb() returns
an error it is due to SDIO access failure and it makes no sense to wait
for hardware to settle. This patch aborts the loop after a number of
subsequent access errors.
Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions