qcacmn: Log runtime PM wake source in debug level

Since callers who log runtime PM resume source may be invoked within
spinlocks or in other atomic contexts, log using info level will log
to console as well which may result overhead. Log using debug level
which will be logged to buffer only to avoid such issues.

Change-Id: I0497c7b7528200af9a34d816865e9bbbfd8bacf2
CRs-fixed: 2518800
This commit is contained in:
Yue Ma
2019-08-30 14:19:11 -07:00
committed by nshrivas
parent fdf5499a36
commit a720310823
2 changed files with 3 additions and 3 deletions

View File

@@ -2780,7 +2780,7 @@ static void wmi_htc_log_pkt(void *ctx, HTC_PACKET *htc_pkt)
cmd_id = WMI_GET_FIELD(qdf_nbuf_data(wmi_cmd_buf), WMI_CMD_HDR,
COMMANDID);
WMI_LOGI("WMI command from HTC packet: %s, ID: %d\n",
WMI_LOGD("WMI command from HTC packet: %s, ID: %d\n",
wmi_id_to_name(cmd_id), cmd_id);
}
#else