summaryrefslogtreecommitdiffstats
path: root/GNexusParts
diff options
context:
space:
mode:
authornuclearmistake <nuclearmistake@gmail.com>2012-09-22 16:46:34 -0400
committernuclearmistake <nuclearmistake@gmail.com>2012-10-13 11:11:25 -0400
commitf30d43663f07544eb836d0502a5c492895b87324 (patch)
tree87869fa763a1bd5096b6115a545fb4a7e967eebd /GNexusParts
parent69619a27a38212ce0ae051fe5f762769112e203e (diff)
downloaddevice_samsung_tuna-f30d43663f07544eb836d0502a5c492895b87324.zip
device_samsung_tuna-f30d43663f07544eb836d0502a5c492895b87324.tar.gz
device_samsung_tuna-f30d43663f07544eb836d0502a5c492895b87324.tar.bz2
tuna: make tuna powerhal conditionally set max_freq properly
-read value of both scaling_max_freq and screen_off_max_freq from sysfs (previously, power_hal only did the former) -if scaling_max_freq is larger than screen_off_max_freq, then save it into our scaling_max_freq variable, because it is truly the scaling_max_freq otherwise, the scaling_max_freq sysfs path has had screen_off_max_freq written to it, so we don't save it to scaling_max_freq. -write the appropriate value (screen_off_max if screen is off, etc.) to scaling_max_freq sysfs path Change-Id: I10cd571df61a5d583dd73be0cb6c7c2201477a96 Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
Diffstat (limited to 'GNexusParts')
0 files changed, 0 insertions, 0 deletions