Merge branch 'spi-5.1' into spi-5.2 for stm32
This commit is contained in:
@@ -1501,7 +1501,7 @@ static int spi_imx_transfer(struct spi_device *spi,
|
||||
|
||||
/* flush rxfifo before transfer */
|
||||
while (spi_imx->devtype_data->rx_available(spi_imx))
|
||||
spi_imx->rx(spi_imx);
|
||||
readl(spi_imx->base + MXC_CSPIRXDATA);
|
||||
|
||||
if (spi_imx->slave_mode)
|
||||
return spi_imx_pio_transfer_slave(spi, transfer);
|
||||
|
Reference in New Issue
Block a user