mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Optimize console logging during driver load
Change some of info/warn log levels to debug log levels to avoid excessive console logging during driver load. Change-Id: I042a8f8f735fb2eb7c135c120cbc6644c46bcc31 CRs-Fixed: 2169378
This commit is contained in:
parent
3fa80e297a
commit
3887f9b2cc
4 changed files with 10 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2011, 2014-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2011, 2014-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
|
|
@ -840,7 +840,7 @@ int htt_ipa_uc_attach(struct htt_pdev_t *pdev)
|
|||
{
|
||||
int error;
|
||||
|
||||
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_INFO, "%s: enter",
|
||||
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_DEBUG, "%s: enter",
|
||||
__func__);
|
||||
|
||||
/* TX resource attach */
|
||||
|
|
@ -867,7 +867,7 @@ int htt_ipa_uc_attach(struct htt_pdev_t *pdev)
|
|||
return error;
|
||||
}
|
||||
|
||||
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_INFO, "%s: exit",
|
||||
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_DEBUG, "%s: exit",
|
||||
__func__);
|
||||
return 0; /* success */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
|
|
@ -3112,7 +3112,7 @@ QDF_STATUS hdd_ipa_uc_ol_init(struct hdd_context *hdd_ctx)
|
|||
if (!hdd_ipa_uc_is_enabled(hdd_ctx))
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
||||
HDD_IPA_LOG(QDF_TRACE_LEVEL_INFO, "enter");
|
||||
HDD_IPA_LOG(QDF_TRACE_LEVEL_DEBUG, "enter");
|
||||
|
||||
/* Do only IPA Pipe specific configuration here. All one time
|
||||
* initialization wrt IPA UC shall in hdd_ipa_init and those need
|
||||
|
|
@ -3166,7 +3166,7 @@ QDF_STATUS hdd_ipa_uc_ol_init(struct hdd_context *hdd_ctx)
|
|||
}
|
||||
|
||||
fail_return:
|
||||
HDD_IPA_LOG(QDF_TRACE_LEVEL_INFO, "exit: status=%d", status);
|
||||
HDD_IPA_LOG(QDF_TRACE_LEVEL_DEBUG, "exit: status=%d", status);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
@ -5877,7 +5877,7 @@ static QDF_STATUS __hdd_ipa_init(struct hdd_context *hdd_ctx)
|
|||
if (!hdd_ipa_is_enabled(hdd_ctx))
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
||||
HDD_IPA_LOG(QDF_TRACE_LEVEL_INFO, "enter");
|
||||
HDD_IPA_LOG(QDF_TRACE_LEVEL_DEBUG, "enter");
|
||||
|
||||
pdev = cds_get_context(QDF_MODULE_ID_TXRX);
|
||||
if (!pdev) {
|
||||
|
|
@ -5986,7 +5986,7 @@ fail_setup_rm:
|
|||
hdd_ctx->hdd_ipa = NULL;
|
||||
ghdd_ipa = NULL;
|
||||
fail_return:
|
||||
HDD_IPA_LOG(QDF_TRACE_LEVEL_INFO, "exit: fail");
|
||||
HDD_IPA_LOG(QDF_TRACE_LEVEL_DEBUG, "exit: fail");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10180,7 +10180,7 @@ void hdd_dp_trace_init(struct hdd_config *config)
|
|||
case 1:
|
||||
live_mode = config_params[0];
|
||||
default:
|
||||
hdd_info("live_mode %u thresh %u time_limit %u verbosity %u bitmap 0x%x",
|
||||
hdd_debug("live_mode %u thresh %u time_limit %u verbosity %u bitmap 0x%x",
|
||||
live_mode, thresh, thresh_time_limit,
|
||||
verbosity, proto_bitmap);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1977,7 +1977,7 @@ QDF_STATUS sme_process_msg(tHalHandle hHal, struct scheduler_msg *pMsg)
|
|||
return status;
|
||||
}
|
||||
if (!SME_IS_START(pMac)) {
|
||||
sme_warn("message type %d in stop state ignored", pMsg->type);
|
||||
sme_debug("message type %d in stop state ignored", pMsg->type);
|
||||
if (pMsg->bodyptr)
|
||||
qdf_mem_free(pMsg->bodyptr);
|
||||
goto release_lock;
|
||||
|
|
|
|||
Loading…
Reference in a new issue