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
Also in
lkml
Reply to
Sergiu Cuciurean, 2020-02-28
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
Thread (3 messages) 3 messages, 2 authors, last reply 2020-12-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help