diff options
author | 2021-09-20 17:21:30 +0200 | |
---|---|---|
committer | 2021-11-30 10:22:07 +0100 | |
commit | b933d1faf8fa30d16171bcff404e39c41b2a7c84 (patch) | |
tree | 2abad6bc8b5756ae373c9195e2be7589d1e70247 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | i2c: stm32f7: flush TX FIFO upon transfer errors (diff) | |
download | wireguard-linux-b933d1faf8fa30d16171bcff404e39c41b2a7c84.tar.xz wireguard-linux-b933d1faf8fa30d16171bcff404e39c41b2a7c84.zip |
i2c: stm32f7: recover the bus on access timeout
When getting an access timeout, ensure that the bus is in a proper
state prior to returning the error.
Fixes: aeb068c57214 ("i2c: i2c-stm32f7: add driver")
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions