aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2017-06-27 11:45:16 -0400
committerMark Brown <broonie@kernel.org>2017-06-28 15:00:53 -0400
commit042c1c60df7b85488de28574e7917b7977be3b00 (patch)
treeae1bb2b691e6fc2e6893893cbb3756b08d15e7eb
parent5fd3d9433217908e1e8e1c2f841c3b28c75509d6 (diff)
spi: stm32: replace st, spi-midi with st, spi-midi-ns to fit bindings
This patch fixes the optional dt property used to set master inter-data idleness. Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/spi/spi-stm32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c
index 1eb07bef043e..3df4baa68d63 100644
--- a/drivers/spi/spi-stm32.c
+++ b/drivers/spi/spi-stm32.c
@@ -582,7 +582,7 @@ static int stm32_spi_prepare_msg(struct spi_master *master,
582 582
583 /* SPI slave device may need time between data frames */ 583 /* SPI slave device may need time between data frames */
584 spi->cur_midi = 0; 584 spi->cur_midi = 0;
585 if (np && !of_property_read_u32(np, "st,spi-midi", &spi->cur_midi)) 585 if (np && !of_property_read_u32(np, "st,spi-midi-ns", &spi->cur_midi))
586 dev_dbg(spi->dev, "%dns inter-data idleness\n", spi->cur_midi); 586 dev_dbg(spi->dev, "%dns inter-data idleness\n", spi->cur_midi);
587 587
588 if (spi_dev->mode & SPI_CPOL) 588 if (spi_dev->mode & SPI_CPOL)