qcacmn: Modify logs for QDF_MODULE_ID_CDP

Use macros like dp_cdp_debug, dp_cdp_err, dp_cdp_info to
print logs for QDF_MODULE_ID_CDP

Change-Id: I550eefa82c3417b8bf83378d4a9c6f382098fea6
CRs-Fixed: 2855937
This commit is contained in:
Himanshu Batra
2021-01-12 11:36:06 +05:30
committed by snandini
parent d369bcd5f8
commit ec2e7778ea
20 changed files with 317 additions and 532 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2017,2019-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2017,2019-2021 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -27,14 +27,14 @@
#include <cdp_txrx_stats_struct.h>
#include "cdp_txrx_ops.h"
#include "cdp_txrx_handle.h"
#include <cdp_txrx_cmn.h>
static inline uint32_t cdp_pflow_update_pdev_params
(ol_txrx_soc_handle soc, uint8_t pdev_id,
enum _dp_param_t param, uint32_t val, void *ctx)
{
if (!soc || !soc->ops) {
QDF_TRACE(QDF_MODULE_ID_CDP, QDF_TRACE_LEVEL_DEBUG,
"%s: Invalid Instance", __func__);
dp_cdp_debug("Invalid Instance");
QDF_BUG(0);
return 0;
}