mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
i2c: imx: simplify i2c_imx_dma_write() a little
Signed-off-by: Wolfram Sang <[email protected]> Acked-by: Yao Yuan <[email protected]>
This commit is contained in:
parent
0620520630
commit
f508493367
1 changed files with 1 additions and 5 deletions
|
|
@ -657,11 +657,7 @@ static int i2c_imx_dma_write(struct imx_i2c_struct *i2c_imx,
|
|||
if (result)
|
||||
return result;
|
||||
|
||||
result = i2c_imx_acked(i2c_imx);
|
||||
if (result)
|
||||
return result;
|
||||
|
||||
return 0;
|
||||
return i2c_imx_acked(i2c_imx);
|
||||
}
|
||||
|
||||
static int i2c_imx_dma_read(struct imx_i2c_struct *i2c_imx,
|
||||
|
|
|
|||
Loading…
Reference in a new issue