diff options
author | 2021-08-26 08:59:30 +0800 | |
---|---|---|
committer | 2021-08-26 13:42:44 +0100 | |
commit | 26cfc0dbe43aae60dc03af27077775244f26c167 (patch) | |
tree | 5659d0f725f952f5f93bd0bea4309f83dd7e713d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: add sprd ADI for sc9863 and ums512 (diff) | |
download | wireguard-linux-26cfc0dbe43aae60dc03af27077775244f26c167.tar.xz wireguard-linux-26cfc0dbe43aae60dc03af27077775244f26c167.zip |
spi: spi-zynq-qspi: use wait_for_completion_timeout to make zynq_qspi_exec_mem_op not interruptible
The function wait_for_completion_interruptible_timeout will return
-ERESTARTSYS immediately when receiving SIGKILL signal which is sent
by "jffs2_gcd_mtd" during umounting jffs2. This will break the SPI memory
operation because the data transmitting may begin before the command or
address transmitting completes. Use wait_for_completion_timeout to prevent
the process from being interruptible.
Fixes: 67dca5e580f1 ("spi: spi-mem: Add support for Zynq QSPI controller")
Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Link: https://lore.kernel.org/r/20210826005930.20572-1-quanyang.wang@windriver.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions