“7ab610f9e0f1701b7b319bdc946b9804fb79e780”上不存在“fs/xfs/libxfs/xfs_dir2_node.c”
提交 d856f1eb 编写于 作者: M Marek Vasut 提交者: Mark Brown

spi: mxs: Assign message status after transfer finished

In the current code implementing the MXS SPI driver, every transferred
message had assigned status = 0, which is not correct. Properly assign
status returned from the I/O functions.
Signed-off-by: NMarek Vasut <marex@denx.de>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 ddffeb8c
...@@ -480,7 +480,7 @@ static int mxs_spi_transfer_one(struct spi_master *master, ...@@ -480,7 +480,7 @@ static int mxs_spi_transfer_one(struct spi_master *master,
first = last = 0; first = last = 0;
} }
m->status = 0; m->status = status;
spi_finalize_current_message(master); spi_finalize_current_message(master);
return status; return status;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册