In update_devfreq(), we first get the target freq
But if this frequency is same as last frequency set,
we do not need to update the frequency and we can
return immediately
Bug
200161377
Change-Id: Ic5746ecabe9e6f93ce8ba20575e2e83ceb8abc52
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/927827
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
if (err)
return err;
+ if (devfreq->previous_freq == freq)
+ return 0;
+
/*
* Adjust the freuqency with user freq and QoS.
*