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

Commit 5310a380 authored by Santosh Mardi's avatar Santosh Mardi Committed by Amir Vajid
Browse files

devfreq: return error code when governor start fails



If there is a failure in starting hw monitor required for
memlat governor, return the error code to devfreq framework
so that the framework  will make sure the governor is
switched back to previous governor.

Change-Id: I76705725fc8b94d5341b1b8af7c1bd2b79e7642a
Signed-off-by: default avatarSantosh Mardi <gsantosh@codeaurora.org>
[avajid@codeaurora.org: minor change to check ret < 0]
Signed-off-by: default avatarAmir Vajid <avajid@codeaurora.org>
parent 2526ddbd
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