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

Commit e45e33a0 authored by Jayant Shekhar's avatar Jayant Shekhar Committed by Ujwal Patel
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.

Conflicts:
	drivers/video/msm/mdss/mdss_mdp_ctl.c

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