diff options
| author | Alexandru Ardelean <[email protected]> | 2019-09-26 13:51:38 +0300 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-10-15 11:44:57 +0100 |
| commit | cd13152bce34cd71f560a7c4a8f66096f2445984 (patch) | |
| tree | e462d8ef345355f31cfe7b9a427af10096b9f46f /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | bebcfd272df648542c458d28fbd6a8f9428b5310 (diff) | |
spi: tegra114: use `spi_transfer_delay_exec` helper
The tegra114 driver has a weird/separate `tegra_spi_transfer_delay()`
function that does 2 delays: one mdelay() and one udelay().
This was introduced via commit f4fade12d506e14867a2b0a5e2f7aaf227297d8b
("spi/tegra114: Correct support for cs_change").
There doesn't seem to be a mention in that commit message to suggest a
specific need/use-case for having the 2 delay calls.
For the most part, udelay() should be sufficient.
This change replaces it with the new `spi_transfer_delay_exec()`, which
should do the same thing.
Signed-off-by: Alexandru Ardelean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions