summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-viperboard.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-21 08:27:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-21 08:27:15 +0200
commitc049ffb35ac4a393919a001f8f468c43cb185a34 (patch)
tree3d8835848724bebf6326aaed3ae5e4dd8d302057 /drivers/i2c/busses/i2c-viperboard.c
parentbaf12d6ddeae74dfcfd5d19fce86260a2e1e44f2 (diff)
parent771c577c23bac90597c685971d7297ea00f99d11 (diff)
downloadop-kernel-dev-c049ffb35ac4a393919a001f8f468c43cb185a34.zip
op-kernel-dev-c049ffb35ac4a393919a001f8f468c43cb185a34.tar.gz
Merge 4.17-rc6 into usb-next
We want the bug fixes and this resolves the merge issues with the usbip driver. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-viperboard.c')
-rw-r--r--drivers/i2c/busses/i2c-viperboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c
index e4be86b..7235c73 100644
--- a/drivers/i2c/busses/i2c-viperboard.c
+++ b/drivers/i2c/busses/i2c-viperboard.c
@@ -337,7 +337,7 @@ static int vprbrd_i2c_xfer(struct i2c_adapter *i2c, struct i2c_msg *msgs,
}
mutex_unlock(&vb->lock);
}
- return 0;
+ return num;
error:
mutex_unlock(&vb->lock);
return error;
OpenPOWER on IntegriCloud