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:
@@ -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
|
||||
|
Reference in New Issue
Block a user