libertas: Use new structure for SPI transfer delays
authorSergiu Cuciurean <sergiu.cuciurean@analog.com>
Thu, 27 Feb 2020 14:06:34 +0000 (16:06 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Mar 2020 13:42:39 +0000 (15:42 +0200)
commit32521a913852a730a2017e6552495e1facacdd8b
treecee3ee76cc57df700857e37705c840f3463d0c8b
parent9454f7a895b822dd8fb4588fc55fda7c96728869
libertas: Use new 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_usecs` 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 bebcfd272df6 ("spi: introduce `delay` field for
`spi_transfer` + spi_transfer_delay_exec()")

Signed-off-by: Sergiu Cuciurean <sergiu.cuciurean@analog.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas/if_spi.c