From: Amelie Delaunay Date: Tue, 27 Jun 2017 15:45:16 +0000 (+0200) Subject: spi: stm32: replace st, spi-midi with st, spi-midi-ns to fit bindings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=042c1c60df7b85488de28574e7917b7977be3b00;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mark Brown --- 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)