diff options
| author | Cezary Gapinski <[email protected]> | 2018-12-24 22:00:32 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-01-07 18:24:30 +0000 |
| commit | 6962b055a1c8db217786c70ebbb907fddc9ba462 (patch) | |
| tree | 2854d5f635235930c7b0143caa17faedcaec6788 /drivers/spi/spi-stm32.c | |
| parent | spi: stm32: use explicit CPOL and CPHA mode bits (diff) | |
| download | kernel-6962b055a1c8db217786c70ebbb907fddc9ba462.tar.gz kernel-6962b055a1c8db217786c70ebbb907fddc9ba462.zip | |
spi: stm32: remove SPI LOOP mode
This driver does not support SPI LOOP mode by configuration
in registers.
Signed-off-by: Cezary Gapinski <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/spi/spi-stm32.c')
| -rw-r--r-- | drivers/spi/spi-stm32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c index f7056b767477..b639be752fe6 100644 --- a/drivers/spi/spi-stm32.c +++ b/drivers/spi/spi-stm32.c @@ -1143,7 +1143,7 @@ static int stm32_spi_probe(struct platform_device *pdev) master->auto_runtime_pm = true; master->bus_num = pdev->id; master->mode_bits = SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST | - SPI_3WIRE | SPI_LOOP; + SPI_3WIRE; master->bits_per_word_mask = stm32_spi_get_bpw_mask(spi); master->max_speed_hz = spi->clk_rate / SPI_MBR_DIV_MIN; master->min_speed_hz = spi->clk_rate / SPI_MBR_DIV_MAX; |
