Skip to content
Commit ebe82cf9 authored by Joakim Tjernlund's avatar Joakim Tjernlund Committed by Wolfram Sang
Browse files

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: default avatarJoakim Tjernlund <joakim.tjernlund@infinera.com>
Acked-by: default avatarScott Wood <oss@buserror.net>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 1ead7e99
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment