From f628a157b48b54f7ef946d4e8d3af15955d24ae2 Mon Sep 17 00:00:00 2001 From: Luis Ubieda Date: Fri, 16 Aug 2024 15:53:20 -0400 Subject: [PATCH] spi: spi_mcux_lpspi: Removed spin lock from iodev_start Does not seem to be required. This allows hiding away the spin lock APIs. Signed-off-by: Luis Ubieda --- drivers/spi/spi_mcux_lpspi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/spi/spi_mcux_lpspi.c b/drivers/spi/spi_mcux_lpspi.c index ba3eb2cd7aaec9..2257794dbee099 100644 --- a/drivers/spi/spi_mcux_lpspi.c +++ b/drivers/spi/spi_mcux_lpspi.c @@ -852,11 +852,8 @@ static void spi_mcux_iodev_start(const struct device *dev) data->transfer_len = transfer.dataSize; - k_spinlock_key_t key = spi_spin_lock(dev); - status = LPSPI_MasterTransferNonBlocking(base, &data->handle, &transfer); - spi_spin_unlock(dev, key); if (status != kStatus_Success) { LOG_ERR("Transfer could not start"); rtio_iodev_sqe_err(txn_head, -EIO);