spi: spi-mem: Allow use of spi_mem_exec_op for all SPI modes
authorVignesh R <vigneshr@ti.com>
Tue, 5 Feb 2019 05:59:12 +0000 (11:29 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 7 Feb 2019 10:03:21 +0000 (15:33 +0530)
commit6d373e523f899c5a8f8808327215e3b9eb3f92f4
treee0a700c4cb05f3b3b00753af71e0466882bdcae6
parente519c616061db4a388bb3ed765eab8c61a9571bc
spi: spi-mem: Allow use of spi_mem_exec_op for all SPI modes

SPI controllers support all types of SPI modes including dual/quad bus
widths. Therefore remove constraint wrt SPI mode from spi-mem layer.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Tested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Tested-by: Stefan Roese <sr@denx.de>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> #zynq-microzed
drivers/spi/spi-mem.c