From 9cfe0f763d2922f9764f2fd29e50398d980cbbef Mon Sep 17 00:00:00 2001 From: Venkata Sharath Chandra Manchala Date: Tue, 5 Feb 2019 12:23:25 -0800 Subject: [PATCH] qcacmn: Reduce log level for athdiag requests Reduce the log level from INFO to DEBUG for athdiag read and write requests. Change-Id: I37c3842f498ebc85386b1fa8fbb3b228eed6d9b5 CRs-Fixed: 2393714 --- hif/src/ath_procfs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hif/src/ath_procfs.c b/hif/src/ath_procfs.c index 57514372f28d..e014f2a2ae7e 100644 --- a/hif/src/ath_procfs.c +++ b/hif/src/ath_procfs.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2014, 2016-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2014, 2016-2019 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 @@ -90,8 +90,8 @@ static ssize_t ath_procfs_diag_read(struct file *file, char __user *buf, (tgt_info->target_type == TARGET_TYPE_QCA6018)))) { memtype = ((uint32_t)(*pos) & 0xff000000) >> 24; offset = (uint32_t)(*pos) & 0xffffff; - HIF_TRACE("%s: offset 0x%x memtype 0x%x, datalen %zu\n", - __func__, offset, memtype, count); + HIF_DBG("%s: offset 0x%x memtype 0x%x, datalen %zu\n", + __func__, offset, memtype, count); rv = pld_athdiag_read(scn->qdf_dev->dev, offset, memtype, count, (uint8_t *)read_buffer); @@ -166,8 +166,8 @@ static ssize_t ath_procfs_diag_write(struct file *file, (tgt_info->target_type == TARGET_TYPE_QCA6018)))) { memtype = ((uint32_t)(*pos) & 0xff000000) >> 24; offset = (uint32_t)(*pos) & 0xffffff; - HIF_TRACE("%s: offset 0x%x memtype 0x%x, datalen %zu\n", - __func__, offset, memtype, count); + HIF_DBG("%s: offset 0x%x memtype 0x%x, datalen %zu\n", + __func__, offset, memtype, count); rv = pld_athdiag_write(scn->qdf_dev->dev, offset, memtype, count, (uint8_t *)write_buffer);