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

Skip to content
Commit 2f2ca4f1 authored by Mehul Raninga's avatar Mehul Raninga
Browse files

ii2c: i2c-master-msm-geni: add null pointer check in event call back



Currently i2c geni driver doesn't have null pointer check condition
in event call back function. If any invalid event is coming from GSI,
i2c geni driver accessing null pointer which is causing crash.
To solve this added null pointer checks in event call back functions.

Change-Id: Ie14a40eee846c0ea29bec512d6320e9548c509b5
Signed-off-by: default avatarAnil Veshala Veshala <quic_aveshala@quicinc.com>
Signed-off-by: default avatarMehul Raninga <quic_mraninga@quicinc.com>
parent 172a1a35
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