CPUFREQ: update ONDEMAND + INTELLIDEMAND with new LOAD calc boost.

/*
 * If the CPU had gone completely idle, and a task just woke up
 * on this CPU now, it would be unfair to calculate 'load' the
 * usual way for this elapsed time-window, because it will show
 * near-zero load, irrespective of how CPU intensive the new
 * task is. This is undesirable for latency-sensitive bursty
 * workloads.
 *
 * To avoid this, we reuse the 'load' from the previous
 * time-window and give this task a chance to start with a
 * reasonably high CPU frequency.
 *
 * Detecting this situation is easy: the governor's deferrable
 * timer would not have fired during CPU-idle periods. Hence
 * an unusually large 'wall_time' indicates this scenario.
 */
lpm_levels: Do not allow power collapse when multi cores online

When any core power collapse is not selected, no need to allow
idle power collapse on cpu0 when multi cores online. It may leads to
stability issues.

Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
ASoC: compress: fix the target not going to TCXO shutdown

The error code propagated from the flush cmd in the trigger stop
is causing the error in the state of the soc compress framework.
This hinders in closing the BE connected to the FE.
If the AFE is not closed it prevents the target to go into TCXO
shutdown.
Fixed by removing the error handling of the flush command in the
trigger stop, since failure in flush doesn't signify the
failure in the stop command.

Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: intellidemand: Cleanup unused sync waitqueue

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
patch-3.4.97-98 using patch -p1 <