From 83f4c5c049abc4a88f99f0a13466b29da8511e47 Mon Sep 17 00:00:00 2001 From: Laxminath Kasam Date: Tue, 5 Jan 2016 20:25:49 +0530 Subject: [PATCH] ASoC: wsa881x-analog: move error prints to debug for wsa For each successful wsa read and write, we are printing the values. Moving the print to debug. Change-Id: I1b5c6b345b1d967d43f26bd9b1d4731d02ad021c Signed-off-by: Laxminath Kasam --- sound/soc/codecs/wsa881x-analog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/wsa881x-analog.c b/sound/soc/codecs/wsa881x-analog.c index cac6860cb098..c7b193f3d80b 100644 --- a/sound/soc/codecs/wsa881x-analog.c +++ b/sound/soc/codecs/wsa881x-analog.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, The Linux Foundation. All rights reserved. + * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -214,7 +214,7 @@ static int wsa881x_i2c_write_device(struct wsa881x_pdata *wsa881x, return ret; } } - pr_err("write success register = %x val = %x\n", reg, data[1]); + pr_debug("write success reg = %x val = %x\n", reg, data[1]); } return rc; } @@ -248,7 +248,7 @@ static int wsa881x_i2c_read_device(struct wsa881x_pdata *wsa881x, pr_err("Failed reading reg=%u rc=%d\n", reg, rc); return rc; } - pr_err("read success register = %x val = %x\n", + pr_debug("read success reg = %x val = %x\n", reg, val); } else { reg_addr = (u8)reg;