Commit 8ae653dc authored by Masahisa Kojima's avatar Masahisa Kojima Committed by Xie XiuQi
Browse files

i2c: synquacer: fix synquacer_i2c_doxfer() return value



commit ff937890 upstream.

master_xfer should return the number of messages successfully
processed.

Fixes: 0d676a6c ("i2c: add support for Socionext SynQuacer I2C controller")
Cc: <stable@vger.kernel.org> # v4.19+
Signed-off-by: default avatarOkamoto Satoru <okamoto.satoru@socionext.com>
Signed-off-by: default avatarMasahisa Kojima <masahisa.kojima@linaro.org>
Acked-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 57a94954
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment