cpufreq: intellidemand: Fix optimal_freq logic on ramp down

When ondemand governor decides to ramp down the frequency, the missing
check for frequency being lower than optimal_freq was causing frequency
to be ramped down to optimal_freq even if the frequency decided by ondemand
governor was higher.

Change-Id: I00f9ae4c61ccda4039f3338dee2c29b8cb790be4
Signed-off-by: Veena Sambasivan <veenas@codeaurora.org>
Signed-off-by: Paul Reioux <reioux@gmail.com>
intellidemand: tweak optimal for krait 600 series

Change-Id: Id06ce30488c804bfdc5ca602914e16c5c2483059
Signed-off-by: Paul Reioux <reioux@gmail.com>
intellidemand: enable sec_touchscreen input boosting

Change-Id: If4a56b838f4648b99a826c407b3208ebb123fa32
Signed-off-by: Paul Reioux <reioux@gmail.com>
intellidemand: set default sampling rate to 50k

Change-Id: If7da7675b625e09dc42dd5f7ab36630a420ff812
Signed-off-by: Paul Reioux <reioux@gmail.com>