summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-image-redcore/files/5.5-ath10k-be-quiet.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-03-08 00:59:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-03-08 00:59:00 +0000
commit94c06da69db2a400c5c635b368628a4114da007c (patch)
tree91ac41cdca741ab02910305e8acb87ae1a90be36 /sys-kernel/linux-image-redcore/files/5.5-ath10k-be-quiet.patch
parent6a048063b8722a134ff2bbc05c359edad13ed023 (diff)
sys-kernel/linux-{image,sources}-redcore : version bump (v5.5.8)
Diffstat (limited to 'sys-kernel/linux-image-redcore/files/5.5-ath10k-be-quiet.patch')
-rw-r--r--sys-kernel/linux-image-redcore/files/5.5-ath10k-be-quiet.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/sys-kernel/linux-image-redcore/files/5.5-ath10k-be-quiet.patch b/sys-kernel/linux-image-redcore/files/5.5-ath10k-be-quiet.patch
new file mode 100644
index 00000000..df32a919
--- /dev/null
+++ b/sys-kernel/linux-image-redcore/files/5.5-ath10k-be-quiet.patch
@@ -0,0 +1,46 @@
+diff -Naur linux-5.2.14/drivers/net/wireless/ath/ath10k/core.c linux-5.2.14-ath/drivers/net/wireless/ath/ath10k/core.c
+--- linux-5.2.14/drivers/net/wireless/ath/ath10k/core.c 2019-09-10 11:35:27.000000000 +0200
++++ linux-5.2.14-ath/drivers/net/wireless/ath/ath10k/core.c 2019-09-11 21:02:39.494630998 +0200
+@@ -2087,7 +2087,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.2.14/drivers/net/wireless/ath/ath10k/htc.c linux-5.2.14-ath/drivers/net/wireless/ath/ath10k/htc.c
+--- linux-5.2.14/drivers/net/wireless/ath/ath10k/htc.c 2019-09-10 11:35:27.000000000 +0200
++++ linux-5.2.14-ath/drivers/net/wireless/ath/ath10k/htc.c 2019-09-11 21:02:39.494630998 +0200
+@@ -799,7 +799,7 @@
+ &ep->ul_pipe_id,
+ &ep->dl_pipe_id);
+ if (status) {
+- ath10k_warn(ar, "unsupported HTC service id: %d\n",
++ ath10k_dbg(ar, ATH10K_DBG_BOOT, "unsupported HTC service id: %d\n",
+ ep->service_id);
+ return status;
+ }
+@@ -877,7 +877,7 @@
+ &ul_pipe_id,
+ &dl_pipe_id);
+ if (status) {
+- ath10k_warn(ar, "unsupported HTC service id: %d\n",
++ ath10k_dbg(ar, ATH10K_DBG_BOOT, "unsupported HTC service id: %d\n",
+ ATH10K_HTC_SVC_ID_HTT_LOG_MSG);
+
+ return false;
+diff -Naur linux-5.2.14/drivers/net/wireless/ath/ath10k/sdio.c linux-5.2.14-ath/drivers/net/wireless/ath/ath10k/sdio.c
+--- linux-5.2.14/drivers/net/wireless/ath/ath10k/sdio.c 2019-09-10 11:35:27.000000000 +0200
++++ linux-5.2.14-ath/drivers/net/wireless/ath/ath10k/sdio.c 2019-09-11 21:02:39.494630998 +0200
+@@ -1875,7 +1875,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;
+ }