]> git.baikalelectronics.ru Git - kernel.git/commit
spi: mxic: Add support for direct mapping
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Jan 2022 09:18:07 +0000 (10:18 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Feb 2022 08:32:30 +0000 (09:32 +0100)
commit57a924e457ef0092af0f461be5307c28fce8d70c
treeabb5de6cb1004607f7e82110c0570a684ba96e0d
parent5c36acda361da63b3f5103e5467e7f3ac9d6d1df
spi: mxic: Add support for direct mapping

Implement the ->dirmap_create() and ->dirmap_read/write() hooks to
provide a fast path for read and write accesses.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Zhengxun Li <zhengxunli@mxic.com.tw>
Reviewed-by: Zhengxun Li <zhengxunli@mxic.com.tw>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20220127091808.1043392-13-miquel.raynal@bootlin.com
drivers/spi/spi-mxic.c