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

Skip to content
Commit b176e313 authored by Ritesh Kumar's avatar Ritesh Kumar
Browse files

drm: msm: dsi-staging: Fix error handling in case of EPROBE_DEFER



When mdss pll probe fails with status EPROBE_DEFER, mdss pll probe is
called again and frees dfps data memory again causing the double free
and the crash. To avoid this, parse dfps data memory when mdss pll
probe is successful.

When devm_clk_get returns error in dsi_ctrl_clocks_init, initialise the
clk to NULL to avoid NULL pointer dereference in dsi_ctrl_clocks_deinit.

Change-Id: I4179b711f70c033729a3c8a57f93737e414bd02c
Signed-off-by: default avatarRitesh Kumar <riteshk@codeaurora.org>
parent 068f5a8d
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