]> git.baikalelectronics.ru Git - kernel.git/commit
spi: ti-qspi: Implement the spi_mem interface
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 26 Apr 2018 16:18:18 +0000 (18:18 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 11 May 2018 02:33:42 +0000 (11:33 +0900)
commite2d72387eba3a4aedfc60c345e01f66b79e74c9b
tree8b82d2671cf09b1f548c5180f937d10e694bd66b
parentee29e65903e2d741f78bbc1018c547b2ab11e9c8
spi: ti-qspi: Implement the spi_mem interface

The spi_mem interface is meant to replace the spi_flash_read() one.
Implement the ->exec_op() method so that we can smoothly get rid of the
old interface.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Vignesh R <vigneshr@ti.com>
Tested-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-ti-qspi.c