diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-12-04 09:58:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-04 17:00:58 -0800 |
commit | 099ffd7eddfe03b9b5b43e1f4ffece99121dd7ba (patch) | |
tree | 17f5ace03a4331cc2ebdda481874be38e9d3869f /samples | |
parent | 38ecd706ca78525d9c4e3bdf9dbe4d2860c125ef (diff) |
NFC: NCI: use new `delay` structure for SPI transfer delays
In a recent change to the SPI subsystem [1], a new `delay` struct was added
to replace the `delay_usecs`. This change replaces the current `delay_secs`
with `delay` for this driver.
The `spi_transfer_delay_exec()` function [in the SPI framework] makes sure
that both `delay_usecs` & `delay` are used (in this order to preserve
backwards compatibility).
[1] commit bebcfd272df6485 ("spi: introduce `delay` field for
`spi_transfer` + spi_transfer_delay_exec()")
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions