mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
5fd3d94332
commit
042c1c60df
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue