Fixed some definition erros

Signed-off-by: Joao Paulo <joaolrpaulo@gmail.com>
Linux 3.4.91

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Joao Paulo <joaolrpaulo@gmail.com>
diag: dci: Safeguard to prevent Integer Underflow and Memory Leak

At certain point in diag driver there can be integer underflow
thus can lead to memory leak. Added a safeguard for that.

Change-Id: I2a0304f5b9888fe12ca9ef5fbaa9a68ee4ab9c15
Crs-fixed: 556860
Signed-off-by: Katish Paran <kparan@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Joao Paulo <joaolrpaulo@gmail.com>
ARM: dts: msm: Add default prefetching size for secure playback

Prefetching for heaps designated for secure playback provides a
good performance boost. Add the optimized default prefetching
size for clients to use.

Change-Id: If8f5ecda5058d1142b1c4dfcdb5bbf7947f4e62c
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Joao Paulo <joaolrpaulo@gmail.com>
mmc: core: fix issue with HPI polling timeout

Out of CPU time for the MMC context included into measured timeout. System
under heavy load will easily exceed out_of_int_time (typically 20 ms),
because  the MMC context is not running and when it is back to running,
timeout already elapsed. In this case real card status checked again and
error reported for wrong card state only.

Change-Id: I0da3bd2e7d41e4933ad3b1333d7135705a1eafec
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Joao Paulo <joaolrpaulo@gmail.com>
mako_hotplug: code revision

  * clean it up to remove clutter on the main function
  * move all the hard-work to the cpu_revive and cpu_smash wrappers
for code clarity
  * for load spikes instead of relying on a single sample on 100% load
the counter needs to be >= 2 to avoid spurious online calls

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Joao Paulo <joaolrpaulo@gmail.com>