Skip to content
Snippets Groups Projects
Commit f5084933 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

i2c: imx: simplify i2c_imx_dma_write() a little


Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Acked-by: default avatarYao Yuan <yao.yuan@freescale.com>
parent 06205206
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment