Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74c319ce authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: bgcom: wait for spi to be free"

parents 69c3e913 156dbc5b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -928,6 +928,8 @@ static irqreturn_t bg_irq_tasklet_hndlr(int irq, void *device)
		pr_debug("No callback registered\n");
		return IRQ_HANDLED;
	} else if (spi_state == BGCOM_SPI_BUSY) {
		/* delay for SPI to be freed */
		msleep(50);
		return IRQ_HANDLED;
	} else if (!bg_spi->irq_lock) {
		bg_spi->irq_lock = 1;