Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2654bcc4 authored by Mukesh Kumar Savaliya's avatar Mukesh Kumar Savaliya Committed by Gerrit - the friendly Code Review server
Browse files

i2c: i2c-msm-geni: Handle NACK interrupt as an error condition



This change adds the NACK bit into the error condition check. So far
driver was expecting for the M_CMD_FAILURE bit also to be raised by
GENI whenever NACK comes, but it's observed that some cases we have
first NACK and then immediately  M_CMD_FAILURE.

This patch helps i2c client to detect NACK as an error and then can
proceed with CMD_FAILURE/CMD_SUCCESS as raised by HW.

Change-Id: I2a81739fcf5924fe296fe8b3a444edeef1d8cfd7
Signed-off-by: default avatarMukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
parent 862b38de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment