diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2021-05-18 18:27:53 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-03 14:04:57 +0100 |
commit | 8941cd8d295e40f8ea1c0a5045d6d068b8e33eec (patch) | |
tree | 7079a3f7ca62ac028fa42908f85d8781169ddf0b /drivers/spi/spi-stm32-qspi.c | |
parent | c955a0cc8a286e5da1ebb88c19201e9bab8c2422 (diff) |
mtd: spinand: use the spi-mem poll status APIs
Make use of spi-mem poll status APIs to let advanced controllers
optimize wait operations.
This should also fix the high CPU usage for system that don't have
a dedicated STATUS poll block logic.
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20210518162754.15940-3-patrice.chotard@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-stm32-qspi.c')
0 files changed, 0 insertions, 0 deletions