mako_hotplug: no need to check for is_touching and calling num_online_cpus() every .10 so only call the num_online_cpus() function if we're actually touching the display.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
cpufreq: interactive: don't check for cpu_online on GOV_START, cpufreq is doing that by itself now. Also rework the new_freq calculations to make sure it scales properly.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
thermal: tsens8960: Increase the polling rate

Change the polling rate at which the sensors temperature
is read from 1 second to .25 seconds. On faster parts
there is a need to poll the temperature at a higher
frequency to improve reporting temperature changes.

Change-Id: I10049707c3e55316597fff72fbd00246cd29bed3
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Make sure PWMs are running in sync.

The 3 (red, green, blue) PWMs were sometimes running out of sync,
depending on the notification LED color flow and timing.

Make sure they are running in sync by
- adjusting the PWM atomically (that is, not adjust each one within its
  own worker task, where other tasks could get run inbetween)
- restarting the PWM if it was running before

Change-Id: Iebddc898c467c11dd412f239a8e26dd22f42c28b
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
cpufreq: interactive: add tunable to control the touch boost duration.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
hotplug: unnecessary code
upstream merge
msm_thermal: removed temp deltas