+147
−36
+14
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The spi-mem layer provides a spi_mem_supports_op() function to check
whether a specific operation is supported by the controller or not.
This is much more accurate than the hwcaps selection logic based on
SPI_{RX,TX}_ flags.
Rework the hwcaps selection logic to use spi_mem_supports_op() when
nor->spimem != NULL.
Signed-off-by:
Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by:
Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by:
Tudor Ambarus <tudor.ambarus@microchip.com>