qcacmn: Remove obsolete WMI_LOG(I/E/P/W/D) macros
Remove obsolete WMI_LOG(I/E/P/W/D) macros and instead use wmi_(err/debug/info/alert/warn). Change-Id: Ib401c5da873efc7a87323d9857d7f33989c3b29c CRs-Fixed: 2776741
This commit is contained in:

committed by
snandini

parent
cee4dbb1c5
commit
1aefc8972b
@@ -119,17 +119,6 @@
|
|||||||
typedef qdf_nbuf_t wmi_buf_t;
|
typedef qdf_nbuf_t wmi_buf_t;
|
||||||
#define wmi_buf_data(_buf) qdf_nbuf_data(_buf)
|
#define wmi_buf_data(_buf) qdf_nbuf_data(_buf)
|
||||||
|
|
||||||
#define WMI_LOGD(args ...) \
|
|
||||||
QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_DEBUG, ## args)
|
|
||||||
#define WMI_LOGI(args ...) \
|
|
||||||
QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_INFO, ## args)
|
|
||||||
#define WMI_LOGW(args ...) \
|
|
||||||
QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_WARN, ## args)
|
|
||||||
#define WMI_LOGE(args ...) \
|
|
||||||
QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_ERROR, ## args)
|
|
||||||
#define WMI_LOGP(args ...) \
|
|
||||||
QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_FATAL, ## args)
|
|
||||||
|
|
||||||
/* Number of bits to shift to combine 32 bit integer to 64 bit */
|
/* Number of bits to shift to combine 32 bit integer to 64 bit */
|
||||||
#define WMI_LOWER_BITS_SHIFT_32 0x20
|
#define WMI_LOWER_BITS_SHIFT_32 0x20
|
||||||
|
|
||||||
|
@@ -3341,7 +3341,7 @@ QDF_STATUS wmi_diag_connect_pdev_htc_service(struct wmi_unified *wmi_handle,
|
|||||||
status = htc_connect_service(htc_handle, &connect, &response);
|
status = htc_connect_service(htc_handle, &connect, &response);
|
||||||
|
|
||||||
if (QDF_IS_STATUS_ERROR(status)) {
|
if (QDF_IS_STATUS_ERROR(status)) {
|
||||||
WMI_LOGE("Failed to connect to WMI DIAG service status:%d\n",
|
wmi_err("Failed to connect to WMI DIAG service status:%d",
|
||||||
status);
|
status);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
@@ -165,7 +165,7 @@ send_gpio_config_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
WMI_GPIO_CONFIG_CMDID);
|
WMI_GPIO_CONFIG_CMDID);
|
||||||
|
|
||||||
if (QDF_IS_STATUS_ERROR(ret)) {
|
if (QDF_IS_STATUS_ERROR(ret)) {
|
||||||
WMI_LOGE("Sending GPIO config cmd failed");
|
wmi_err("Sending GPIO config cmd failed");
|
||||||
wmi_buf_free(buf);
|
wmi_buf_free(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -214,7 +214,7 @@ send_gpio_output_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
WMI_GPIO_OUTPUT_CMDID);
|
WMI_GPIO_OUTPUT_CMDID);
|
||||||
|
|
||||||
if (QDF_IS_STATUS_ERROR(ret)) {
|
if (QDF_IS_STATUS_ERROR(ret)) {
|
||||||
WMI_LOGE("Sending GPIO output cmd failed");
|
wmi_err("Sending GPIO output cmd failed");
|
||||||
wmi_buf_free(buf);
|
wmi_buf_free(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -8224,8 +8224,7 @@ wmi_fill_ocv_frame_type(uint32_t host_frmtype, uint32_t *ocv_frmtype)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
WMI_LOGE("%s: invalid command type cmd %d",
|
wmi_err("Invalid command type cmd %d", host_frmtype);
|
||||||
__func__, host_frmtype);
|
|
||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -8332,7 +8331,7 @@ QDF_STATUS send_wfa_test_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
wmi_mtrace(WMI_WFA_CONFIG_CMDID, wmi_wfatest->vdev_id, 0);
|
wmi_mtrace(WMI_WFA_CONFIG_CMDID, wmi_wfatest->vdev_id, 0);
|
||||||
if (wmi_unified_cmd_send(wmi_handle, wmi_buf, len,
|
if (wmi_unified_cmd_send(wmi_handle, wmi_buf, len,
|
||||||
WMI_WFA_CONFIG_CMDID)) {
|
WMI_WFA_CONFIG_CMDID)) {
|
||||||
WMI_LOGP("%s: failed to send wfa test command", __func__);
|
wmi_err("Failed to send wfa test command");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user