spi: spi-mem: allow specifying whether an op is DTR or not
authorPratyush Yadav <p.yadav@ti.com>
Tue, 23 Jun 2020 18:30:14 +0000 (00:00 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jul 2020 16:29:37 +0000 (17:29 +0100)
commit4c5e2bba30e49b970a0fd07b43e0b7a3b5fd5ea7
tree26f3159168133fdb63292c707deb896d6248631e
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407
spi: spi-mem: allow specifying whether an op is DTR or not

Each phase is given a separate 'dtr' field so mixed protocols like
4S-4D-4D can be supported.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20200623183030.26591-2-p.yadav@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mem.c
include/linux/spi/spi-mem.h