mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
i2c-nomadik: remove the redundant error message
The abort cause string itself is an error, so remove the redundant explicit error message. Signed-off-by: Srinidhi Kasagar <[email protected]> Reviewed-by: Jonas Aberg <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
This commit is contained in:
parent
99381bec0a
commit
c436f92a46
1 changed files with 0 additions and 2 deletions
|
|
@ -609,8 +609,6 @@ static int nmk_i2c_xfer(struct i2c_adapter *i2c_adap,
|
|||
if (status || (dev->result)) {
|
||||
/* get the abort cause */
|
||||
cause = (readl(dev->virtbase + I2C_SR) >> 4) & 0x7;
|
||||
dev_err(&dev->pdev->dev, "error during I2C"
|
||||
"message xfer: %d\n", cause);
|
||||
dev_err(&dev->pdev->dev, "%s\n",
|
||||
cause >= ARRAY_SIZE(abort_causes)
|
||||
? "unknown reason" : abort_causes[cause]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue