summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ivch/ivch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ivch/ivch.c b/src/ivch/ivch.c
index ac57ff3a..eb5dc21c 100644
--- a/src/ivch/ivch.c
+++ b/src/ivch/ivch.c
@@ -188,6 +188,7 @@ ivch_init(I2CBusPtr b, I2CSlaveAddr addr)
"ivch detect failed due to address mismatch "
"(%d vs %d)\n",
(temp & VR00_BASE_ADDRESS_MASK), priv->d.SlaveAddr >> 1);
+ goto out;
}
if (!xf86I2CDevInit(&priv->d)) {