diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-07-16 20:50:25 -0700 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-07-24 20:35:18 +0200 |
commit | b3f0ceb7c2037c6e3affd7d9c84ac5f97af7a5b5 (patch) | |
tree | f5c5ea0f6b2c3d20ef606f73b3b7b88a9ca0a4e9 /security | |
parent | 9fdf6d97f03035ad5298e2d1635036c74c2090ed (diff) | |
download | linux-b3f0ceb7c2037c6e3affd7d9c84ac5f97af7a5b5.tar.bz2 |
i2c: qcom-geni: Use the correct return value
The introduction of GPI support moved things around and instead of
returning the result from geni_i2c_xfer() the number of messages in the
request was returned, ignoring the actual result. Fix this.
Fixes: d8703554f4de ("i2c: qcom-geni: Add support for GPI DMA")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions