Commit ef39ac1b authored by Govind Singh's avatar Govind Singh Committed by Kalle Valo
Browse files

ath10k: move non-fatal warn logs to dbg level



During driver load below warn logs are printed in the console if
firmware doesn't support some optional HTC services, ex:pktlog.
It is likely some older fw version may not support PKTLOG HTC
service as legacy fw uses HTC DATA service  for pktlog.
Move this log to debug level to remove un-necessary warn message
on console.

htc.c:803:  ath10k_warn(ar, "unsupported HTC service id: %d\n",
htc.c:881:  ath10k_warn(ar, "unsupported HTC service id: %d\n",

Signed-off-by: default avatarGovind Singh <govinds@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 3f8be640
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -800,7 +800,7 @@ setup:
						&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;
	}
@@ -878,7 +878,7 @@ static bool ath10k_htc_pktlog_svc_supported(struct ath10k *ar)
						&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 pktlog service id: %d\n",
			   ATH10K_HTC_SVC_ID_HTT_LOG_MSG);

		return false;