1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/ti
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
..
wl12xx wifi: fill in MODULE_DESCRIPTION()s for wl1251 and wl12xx 2024-01-31 18:32:32 +02:00
wl18xx wifi: fill in MODULE_DESCRIPTION()s for wl18xx 2024-01-31 18:32:33 +02:00
wl1251 wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
wlcore wifi: wlcore: sdio: Rate limit wl12xx_sdio_raw_{read,write}() failures warns 2024-03-05 20:53:46 +02:00
Kconfig wifi: wl1251: drop support for platform data 2022-11-16 11:37:37 +02:00
Makefile wifi: ti: remove obsolete lines in the Makefile 2022-12-14 14:33:05 +02:00