# Re: \[PATCH v2\] input: touchscreen: ad7877: Use new structure for SPI transfer delays

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2020-12-11 05:57:46 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2020/12/6207319
- Thread: https://ratatoskr.run/linux-input/2020/02/5877086/t.md

```text
On Fri, Feb 28, 2020 at 12:45:08PM +0200, Sergiu Cuciurean wrote:
> 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>

Applied, thank you.

-- 
Dmitry
```
