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: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Govind Singh 2019-11-25 13:10:01 +00:00 committed by Kalle Valo
parent 3f8be64007
commit ef39ac1b0d
1 changed files with 4 additions and 4 deletions

View File

@ -800,8 +800,8 @@ setup:
&ep->ul_pipe_id, &ep->ul_pipe_id,
&ep->dl_pipe_id); &ep->dl_pipe_id);
if (status) { 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); ep->service_id);
return status; return status;
} }
@ -878,8 +878,8 @@ static bool ath10k_htc_pktlog_svc_supported(struct ath10k *ar)
&ul_pipe_id, &ul_pipe_id,
&dl_pipe_id); &dl_pipe_id);
if (status) { 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); ATH10K_HTC_SVC_ID_HTT_LOG_MSG);
return false; return false;
} }