summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/mpc85xx/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/mpc85xx/i2c.c')
-rw-r--r--sys/powerpc/mpc85xx/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/mpc85xx/i2c.c b/sys/powerpc/mpc85xx/i2c.c
index f21c845..e02a08b 100644
--- a/sys/powerpc/mpc85xx/i2c.c
+++ b/sys/powerpc/mpc85xx/i2c.c
@@ -284,7 +284,7 @@ i2c_start(device_t dev, u_char slave, int timeout)
debugf("bus busy");
mtx_unlock(&sc->mutex);
i2c_stop(dev);
- return (IIC_EBUSBSY);
+ return (IIC_EBUSERR);
}
/* Set start condition */
OpenPOWER on IntegriCloud