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)
commitb95cb394ab591d1d6dcc7281b415fde0a3de2ae1
tree8b82d2671cf09b1f548c5180f937d10e694bd66b
parent5f195ee7d830c271af6fca979b0106b9a053e2c0
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