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 <lkasam@codeaurora.org>
This commit is contained in:
parent
df756d1f8b
commit
83f4c5c049
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue