Commit 0f6bacc4 authored by Vinod Koul's avatar Vinod Koul
Browse files

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

Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 9a23004a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment