Evervolv/android_device_htc_qsd8k-common — pull request #1 by tiny4579 (2012-10-09 02:13:14+00:00)
Title: powerHAL: use code from power_tuna.c to fix screen off bug

This should fix the max frequency occassionally getting set to the screen off frequency. I'm sure it came from someone else as I pulled this code straight from power_tuna.c which was modified by CM or other devs but I hope this will help.