Skip to content
Commit 305e198e authored by Jun Lin's avatar Jun Lin Committed by Stephanos Ioannidis
Browse files

driver: i2c: npcx: do bus recovery when the transaction timeout



When there is a timeout for an i2c transaction, the i2c driver should do
the recovery logic to make the bus and driver state machine go back to
idle. Otherwise, it will cause the following transaction to fail because
the state machine keeps in an inappropriate state.

Signed-off-by: default avatarJun Lin <CHLin56@nuvoton.com>
parent 05455c3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment