History

spi: spi-fsl-espi: convert transfer delay to `spi_delay` format

The way the max delay is computed for this controller, it looks like it is searching for the max delay from an SPI message a using that. No idea if this is valid. But this change should support both `delay_usecs` and the new `delay` data which is of `spi_delay` type.

Alexandru Ardelean committed 7 years ago

Commit 3984d391 parent 25093bd3 files · +19 −7Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/spi/spi.h+1−0
@@ -103,6 +103,7 @@ struct spi_delay { · 102 unmodified lines
103103 u8 unit;
104104 };
105105
106+extern int spi_delay_to_ns(struct spi_delay *_delay, struct spi_transfer *xfer);
106107 extern int spi_delay_exec(struct spi_delay *_delay, struct spi_transfer *xfer);
107108
108109 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t