Skip to content
Commit d4abe647 authored by Jun Lin's avatar Jun Lin Committed by Carles Cufí
Browse files

driver: i2c: npcx: clear FIFO status before a transaction starts



When an I2C transaction completes, the driver should clear all the FIFO
status. Otherwise, it has the chance to break the operation of the next
transaction. This commit sets the CLR_FIFO bit in the SMBFIF_CTS
register to clear all the FIFO status at the beginning of an I2C
transaction.

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