summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore/files/6.11-ath10k-be-quiet.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linux-sources-redcore/files/6.11-ath10k-be-quiet.patch')
-rw-r--r--sys-kernel/linux-sources-redcore/files/6.11-ath10k-be-quiet.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore/files/6.11-ath10k-be-quiet.patch b/sys-kernel/linux-sources-redcore/files/6.11-ath10k-be-quiet.patch
new file mode 100644
index 00000000..a6c715e7
--- /dev/null
+++ b/sys-kernel/linux-sources-redcore/files/6.11-ath10k-be-quiet.patch
@@ -0,0 +1,25 @@
+diff -Naur linux-5.6/drivers/net/wireless/ath/ath10k/core.c linux-5.6-p/drivers/net/wireless/ath/ath10k/core.c
+--- linux-5.6/drivers/net/wireless/ath/ath10k/core.c 2020-03-30 00:25:41.000000000 +0200
++++ linux-5.6-p/drivers/net/wireless/ath/ath10k/core.c 2020-03-30 16:20:00.558005330 +0200
+@@ -2166,7 +2166,8 @@
+ return ret;
+ }
+
+- ath10k_info(ar, "UART prints enabled\n");
++ /* Please, _dbg() , no need to flood the dmesg with these */
++ ath10k_dbg(ar, ATH10K_DBG_BOOT, "UART prints enabled\n");
+ return 0;
+ }
+
+diff -Naur linux-5.6/drivers/net/wireless/ath/ath10k/sdio.c linux-5.6-p/drivers/net/wireless/ath/ath10k/sdio.c
+--- linux-5.6/drivers/net/wireless/ath/ath10k/sdio.c 2020-03-30 00:25:41.000000000 +0200
++++ linux-5.6-p/drivers/net/wireless/ath/ath10k/sdio.c 2020-03-30 16:20:00.558005330 +0200
+@@ -1974,7 +1974,7 @@
+ ar_sdio->mbox_addr[eid], ar_sdio->mbox_size[eid]);
+ break;
+ default:
+- ath10k_warn(ar, "unsupported HTC service id: %d\n",
++ ath10k_dbg(ar, ATH10K_DBG_SDIO, "unsupported HTC service id: %d\n",
+ service_id);
+ return -EINVAL;
+ }