i2c: i2c-msm-geni: NULL check before accessing i2c message
This change adds a NULL pointer check for i2c rx callback function.
In some corner case and rare scenario, it may happen that delayed
callback from GSI for any unexpected sequence can result into accessing
stale message pointer which can be NULL.
Actual root cause should be found but this adds a protection check.
Change-Id: Iab2196812289026674ee3b26d27c4f20a01bbda2
Signed-off-by:
Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Loading
Please register or sign in to comment