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

Commit 84271aca authored by Jayant Shekhar's avatar Jayant Shekhar Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Fix potential NULL pointer dereference



If ctl reset is called from rotator, ctl's mfd is NULL.
This might cause NULL pointer dereference leading to
kernel panic. Fix this by adding required check.

Change-Id: Icbd3e2e3ffc7cc0521222185d30ae0ca6adad5c4
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 3a2d0879
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