From 809cb8ed58f3d59374c94d2b1d1fac7cd6c4a81c Mon Sep 17 00:00:00 2001 From: Surendar Karka Date: Wed, 28 Nov 2018 16:51:54 +0530 Subject: [PATCH] asoc: wsa881x: change WSA temparature log level to pr_debug Dmesg logs are getting flooded with WSA temparature logs. Change the log level to pr_debug to get rid of this messages. Change-Id: Ia4ccca47c5e6e5d56883ff73e1ae4278ff855be3 Signed-off-by: Surendar Karka --- asoc/codecs/wsa881x-temp-sensor.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/asoc/codecs/wsa881x-temp-sensor.c b/asoc/codecs/wsa881x-temp-sensor.c index 97f4d46f3335..eb7832a4d2a0 100644 --- a/asoc/codecs/wsa881x-temp-sensor.c +++ b/asoc/codecs/wsa881x-temp-sensor.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2015, 2017-2018 The Linux Foundation. All rights reserved. +/* Copyright (c) 2015, 2017-2019 The Linux Foundation. All rights reserved. */ #include @@ -109,9 +109,8 @@ temp_retry: if (temp_val <= LOW_TEMP_THRESHOLD || temp_val >= HIGH_TEMP_THRESHOLD) { - printk_ratelimited("%s: T0: %d is out of range[%d, %d]\n", - __func__, temp_val, LOW_TEMP_THRESHOLD, - HIGH_TEMP_THRESHOLD); + pr_debug("%s: T0: %d is out of range[%d, %d]\n", __func__, + temp_val, LOW_TEMP_THRESHOLD, HIGH_TEMP_THRESHOLD); if (retry--) { msleep(20); goto temp_retry;