diff options
author | 2022-07-16 20:50:26 -0700 | |
---|---|---|
committer | 2022-07-24 07:13:45 +0200 | |
commit | 913ee46905ab48e1cae0dbd18de098f572ffa388 (patch) | |
tree | a95669379cd3cd508969ab82059d7a96eb1f250c /scripts/generate_rust_analyzer.py | |
parent | i2c: brcmstb: Use dev_name() for adapter name (diff) | |
download | wireguard-linux-913ee46905ab48e1cae0dbd18de098f572ffa388.tar.xz wireguard-linux-913ee46905ab48e1cae0dbd18de098f572ffa388.zip |
i2c: qcom-geni: Propagate GENI_ABORT_DONE to geni_i2c_abort_xfer()
Waiting for M_CMD_ABORT_EN in geni_i2c_abort_xfer() races with the
interrupt handler which will read and clear the abort bit, the result is
that every abort attempt takes 1 second and is followed by a message
about the abort having times out.
Introduce a new state variable to carry the abort_done state from the
interrupt handler back to geni_i2c_abort_xfer(). Also, turn NACK
and TIMEOUT errors into debug messages
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
[wsa: squashed two patches into one]
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions