commit | b933d1faf8fa30d16171bcff404e39c41b2a7c84 | [log] [tgz] |
---|---|---|
author | Alain Volmat <alain.volmat@foss.st.com> | Mon Sep 20 17:21:30 2021 +0200 |
committer | Wolfram Sang <wsa@kernel.org> | Tue Nov 30 10:22:07 2021 +0100 |
tree | 2abad6bc8b5756ae373c9195e2be7589d1e70247 | |
parent | 0c21d02ca469574d2082379db52d1a27b99eed0c [diff] |
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>