Merge remote-tracking branch 'spi/fix/core' into spi-linus
This commit is contained in:
commit
797d0dec8a
|
@ -755,9 +755,7 @@ static void spi_pump_messages(struct kthread_work *work)
|
|||
ret = master->transfer_one_message(master, master->cur_msg);
|
||||
if (ret) {
|
||||
dev_err(&master->dev,
|
||||
"failed to transfer one message from queue: %d\n", ret);
|
||||
master->cur_msg->status = ret;
|
||||
spi_finalize_current_message(master);
|
||||
"failed to transfer one message from queue\n");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue