Commit 7d8ccf4
i2c: qcom-geni: fix error return code in geni_i2c_gpi_xfer
Fix to return a negative error code from the gi2c->err instead of
0.
Fixes: d870355 ("i2c: qcom-geni: Add support for GPI DMA")
Signed-off-by: Wang Yufen <[email protected]>
Reviewed-by: Tommaso Merciai <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>1 parent 8bfd4ec commit 7d8ccf4
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
630 | 629 | | |
631 | 630 | | |
632 | 631 | | |
| |||
0 commit comments