mirror-linux/drivers/net/wireless/ti/wlcore
Javier Martinez Canillas f6e36d9e1c wifi: wlcore: sdio: Rate limit wl12xx_sdio_raw_{read,write}() failures warns
When these failures happen, the warning and call trace is printed which is
excessive. Instead, just print the error but rate limited to prevent warns
to unnecessarily pollute the kernel log buffer and make the serial console
practically unusable.

For example, on an AM625 BeaglePlay board where accessing a SDIO WiFi chip
fails with an -110 (ETIMEDOUT) error:

  $ dmesg | grep "sdio write\|read failed (-110)" | wc -l
  39

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240228101042.728881-1-javierm@redhat.com
2024-03-05 20:53:46 +02:00
..
Kconfig
Makefile
acx.c
acx.h
boot.c wifi: wlcore: boot: replace deprecated strncpy with strscpy 2023-10-23 20:29:15 +03:00
boot.h
cmd.c
cmd.h
conf.h
debug.h
debugfs.c
debugfs.h
event.c wifi: mac80211: add support to call csa_finish on a link 2024-02-08 15:00:45 +01:00
event.h
hw_ops.h
ini.h
init.c
init.h
io.c
io.h
main.c wifi: mac80211: introduce 'channel request' 2024-02-08 13:07:34 +01:00
ps.c
ps.h
rx.c
rx.h
scan.c
scan.h
sdio.c wifi: wlcore: sdio: Rate limit wl12xx_sdio_raw_{read,write}() failures warns 2024-03-05 20:53:46 +02:00
spi.c wifi: fill in MODULE_DESCRIPTION()s for wlcore 2024-01-31 18:32:31 +02:00
sysfs.c
sysfs.h
testmode.c
testmode.h
tx.c
tx.h
vendor_cmd.c
vendor_cmd.h
wl12xx_80211.h
wlcore.h wifi: wlcore: Convert to platform remove callback returning void 2023-09-18 17:31:37 +03:00
wlcore_i.h