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

Skip to content
Commit 50c2f64e authored by Qiwei Liu's avatar Qiwei Liu Committed by Gerrit - the friendly Code Review server
Browse files

PM / devfreq: fix NULL pointer dereference for freq_table



Some devices freq_table is NULL, when show available_frequencies,
shouldn't access freq_table if max_state is 0.

Change-Id: I58ffaa23c1d27c0fe147c6d4f755244c3f69fbc0
Signed-off-by: default avatarQiwei Liu <qiweil@codeaurora.org>
parent 0c098091
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