summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sh-sci.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-04-26 18:18:16 +0200
committerMark Brown <broonie@kernel.org>2018-05-11 04:33:29 +0200
commit5f195ee7d830c271af6fca979b0106b9a053e2c0 (patch)
treee53aa7794bf9b02e5abbae5315dd5569ce2ee5f4 /drivers/spi/spi-sh-sci.c
parentspi: Make support for regular transfers optional when ->mem_ops != NULL (diff)
downloadlinux-5f195ee7d830c271af6fca979b0106b9a053e2c0.tar.xz
linux-5f195ee7d830c271af6fca979b0106b9a053e2c0.zip
spi: bcm-qspi: Implement the spi_mem interface
The spi_mem interface is meant to replace the ->spi_flash_read() one. Implement the ->exec_op() method to ease removal of the old interface. Not that ->spi_flash_read() is now implemented as a wrapper around the new bcm_qspi_exec_mem_op() function so that we can easily get rid of it when ->spi_flash_read() is removed. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Kamal Dasu <kdasu.kdev@gmail.com> Tested-by: Kamal Dasu <kdasu.kdev@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-sh-sci.c')
0 files changed, 0 insertions, 0 deletions