diff options
author | Vinod Koul <[email protected]> | 2022-01-03 12:41:17 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-01-06 16:16:33 +0000 |
commit | 74b86d6af81be73bb74995ebeba74417e84b6b6f (patch) | |
tree | 882bcdae3df05eba8a052ccad84f5b4b624ba91f /net/lapb/lapb_timer.c | |
parent | 709c81b55c6aa74a6cdad27bdc224f50962b6ad9 (diff) |
spi: qcom: geni: set the error code for gpi transfer
Before we invoke spi_finalize_current_transfer() in
spi_gsi_callback_result() we should set the spi->cur_msg->status as
appropriate (0 for success, error otherwise).
The helps to return error on transfer and not wait till it timesout on
error
Fixes: b59c122484ec ("spi: spi-geni-qcom: Add support for GPI dma")
Signed-off-by: Vinod Koul <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions