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:
Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Loading
Please register or sign in to comment