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

Skip to content
Commit c137a1af authored by Santosh Mardi's avatar Santosh Mardi Committed by Gerrit - the friendly Code Review server
Browse files

devfreq: update device suspended check



Update device suspended condition check in get_freq function,
in some scenarios the device is in  suspended and if node
is null, the condition will pass and  wrongly code will
proceed to access the node pointer which is null,
update if condition for device suspended state.

Change-Id: Ia18aeaf24c788294beb30d2f9d92d0e85fe90bc6
Signed-off-by: default avatarSantosh Mardi <gsantosh@codeaurora.org>
parent 88aad584
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment