diff options
author | Patrice Chotard <[email protected]> | 2022-06-02 11:10:22 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-06 12:32:27 +0100 |
commit | 2283679f4c468df367830b7eb8f22d48a6940e19 (patch) | |
tree | 6600be3b791cb59391e845128faacb04bcad0677 /tools/perf/util/trace-event-scripting.c | |
parent | 7b40322f7183a92c4303457528ae7cda571c60b9 (diff) |
spi: spi-mem: Fix spi_mem_poll_status()
In spi_mem_exec_op(), in case cs_gpiod descriptor is set, exec_op()
callback can't be used.
The same must be applied in spi_mem_poll_status(), poll_status()
callback can't be used, we must use the legacy path using
read_poll_timeout().
Tested on STM32mp257c-ev1 specific evaluation board on which a
spi-nand was mounted instead of a spi-nor.
Signed-off-by: Patrice Chotard <[email protected]>
Tested-by: Patrice Chotard <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions