summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore/files/5.14-ath10k-be-quiet.patch
blob: a6c715e7f78e2c789b744f80e03e8a174854a6e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
 	}