Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1673528
| From | Amelie Delaunay <amelie.delaunay@st.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/8] spi: stm32: replace st,spi-midi with st,spi-midi-ns to fit bindings |
| Date | 2017-06-23 15:00 +0200 |
| Message-ID | <tVwlQ-2ge-17@gated-at.bofh.it> (permalink) |
| References | <tVwlP-2ge-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This patch fixes the optional dt property used to set master inter-data idleness. Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> --- drivers/spi/spi-stm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c index ca38c24..0997d6d 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, /* SPI slave device may need time between data frames */ spi->cur_midi = 0; - if (np && !of_property_read_u32(np, "st,spi-midi", &spi->cur_midi)) + if (np && !of_property_read_u32(np, "st,spi-midi-ns", &spi->cur_midi)) dev_dbg(spi->dev, "%dns inter-data idleness\n", spi->cur_midi); if (spi_dev->mode & SPI_CPOL) -- 1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/8] STM32 SPI various fixes Amelie Delaunay <amelie.delaunay@st.com> - 2017-06-23 15:00 +0200
[PATCH 4/8] spi: stm32: replace st,spi-midi with st,spi-midi-ns to fit bindings Amelie Delaunay <amelie.delaunay@st.com> - 2017-06-23 15:00 +0200
Applied "spi: stm32: replace st, spi-midi with st, spi-midi-ns to fit bindings" to the spi tree Mark Brown <broonie@kernel.org> - 2017-06-28 21:30 +0200
[PATCH 5/8] spi: stm32: use normal conditional statements instead of ternary operator Amelie Delaunay <amelie.delaunay@st.com> - 2017-06-23 15:00 +0200
Applied "spi: stm32: use normal conditional statements instead of ternary operator" to the spi tree Mark Brown <broonie@kernel.org> - 2017-06-28 21:30 +0200
[PATCH 3/8] dt-bindings: spi: stm32: fix example with st,spi-midi-ns property Amelie Delaunay <amelie.delaunay@st.com> - 2017-06-23 15:00 +0200
Re: [PATCH 3/8] dt-bindings: spi: stm32: fix example with st,spi-midi-ns property Rob Herring <robh@kernel.org> - 2017-06-26 21:20 +0200
[PATCH 7/8] spi: stm32: enhance DMA error management Amelie Delaunay <amelie.delaunay@st.com> - 2017-06-23 15:00 +0200
csiph-web