aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 7ea06af8636a..eb3587a30df2 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -533,6 +533,7 @@ static void spi_pump_messages(struct kthread_work *work)
533 if (master->busy) { 533 if (master->busy) {
534 ret = master->unprepare_transfer_hardware(master); 534 ret = master->unprepare_transfer_hardware(master);
535 if (ret) { 535 if (ret) {
536 spin_unlock_irqrestore(&master->queue_lock, flags);
536 dev_err(&master->dev, 537 dev_err(&master->dev,
537 "failed to unprepare transfer hardware\n"); 538 "failed to unprepare transfer hardware\n");
538 return; 539 return;