aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-ibm_iic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-ibm_iic.c')
-rw-r--r--drivers/i2c/busses/i2c-ibm_iic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c
index e4f88dca99b5..3c110fbc409b 100644
--- a/drivers/i2c/busses/i2c-ibm_iic.c
+++ b/drivers/i2c/busses/i2c-ibm_iic.c
@@ -494,7 +494,7 @@ static int iic_xfer_bytes(struct ibm_iic_private* dev, struct i2c_msg* pm,
494 if (unlikely(ret < 0)) 494 if (unlikely(ret < 0))
495 break; 495 break;
496 else if (unlikely(ret != count)){ 496 else if (unlikely(ret != count)){
497 DBG("%d: xfer_bytes, requested %d, transfered %d\n", 497 DBG("%d: xfer_bytes, requested %d, transferred %d\n",
498 dev->idx, count, ret); 498 dev->idx, count, ret);
499 499
500 /* If it's not a last part of xfer, abort it */ 500 /* If it's not a last part of xfer, abort it */
@@ -593,7 +593,7 @@ static int iic_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
593 if (unlikely((in_8(&iic->extsts) & EXTSTS_BCS_MASK) != EXTSTS_BCS_FREE)){ 593 if (unlikely((in_8(&iic->extsts) & EXTSTS_BCS_MASK) != EXTSTS_BCS_FREE)){
594 DBG("%d: iic_xfer, bus is not free\n", dev->idx); 594 DBG("%d: iic_xfer, bus is not free\n", dev->idx);
595 595
596 /* Usually it means something serious has happend. 596 /* Usually it means something serious has happened.
597 * We *cannot* have unfinished previous transfer 597 * We *cannot* have unfinished previous transfer
598 * so it doesn't make any sense to try to stop it. 598 * so it doesn't make any sense to try to stop it.
599 * Probably we were not able to recover from the 599 * Probably we were not able to recover from the