Commit 4a0d1f61 authored by Alok Chauhan's avatar Alok Chauhan Committed by Dhivya Subramanian
Browse files

qup_i2c: Update clock ready check condition



While doing i2c transfer that involved write and
immediate read, the driver will put the controller
to RESET and do an immediate read before the write completes.
This issue is hard to produce internally because clock stretch
from slave device is involved during the failure time. CLK
state in QUP status register will be FORCED_LOW_STATE.

O/p fifo empty check added to determine clock idle.

CRs-Fixed: 455743
Change-Id: I51c1d9f9de42381fc85710e9185aa4177f6cd302
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent 01643d56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment