commit | ebe82cf92cd4825c3029434cabfcd2f1780e64be | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <joakim.tjernlund@infinera.com> | Thu May 11 14:20:33 2017 +0200 |
committer | Wolfram Sang <wsa@kernel.org> | Mon Nov 29 17:50:28 2021 +0100 |
tree | a4c5f2ece9dfa81ae81406f6f46db611b62a65f6 | |
parent | 1ead7e992abee922b7e6ff1238dc47c06605c5bd [diff] |
i2c: mpc: Correct I2C reset procedure Current I2C reset procedure is broken in two ways: 1) It only generate 1 START instead of 9 STARTs and STOP. 2) It leaves the bus Busy so every I2C xfer after the first fixup calls the reset routine again, for every xfer there after. This fixes both errors. Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com> Acked-by: Scott Wood <oss@buserror.net> Signed-off-by: Wolfram Sang <wsa@kernel.org>