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

Skip to content
Commit 8df7f535 authored by Pankaj Gupta's avatar Pankaj Gupta
Browse files

devfreq: Avoid null pointer de-reference in governor_bw_vbif



Add a null pointer check before calling extern_get_bw().

There is a possibility that devfreq_probe gets called before
kgsl_probe, in such case extern_get_bw() will be null, and will
cause kernel panic.

Change-Id: Icb37e57353fa36c2e8a6dee9357a871a7a795d30
Signed-off-by: default avatarPankaj Gupta <gpankaj@codeaurora.org>
parent 66e38d99
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