Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1677112

Applied "spi: stm32: replace st, spi-midi with st, spi-midi-ns to fit bindings" to the spi tree

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Applied "spi: stm32: replace st, spi-midi with st, spi-midi-ns to fit bindings" to the spi tree
Date 2017-06-28 21:30 +0200
Message-ID <tXqP2-1wb-65@gated-at.bofh.it> (permalink)
References <tVwlQ-2ge-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The patch

   spi: stm32: replace st, spi-midi with st, spi-midi-ns to fit bindings

has been applied to the spi tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 042c1c60df7b85488de28574e7917b7977be3b00 Mon Sep 17 00:00:00 2001
From: Amelie Delaunay <amelie.delaunay@st.com>
Date: Tue, 27 Jun 2017 17:45:16 +0200
Subject: [PATCH] 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>
---
 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 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,
 
 	/* 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)
-- 
2.13.2

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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