MSM Intelli Thermal: restored some default code and cleaned my test code!
RANDOM: Set pool size to 8192 and tune read/write value.

We have strong cpu so let entropy to rise fast and have big pool
to be used when woring with apps.
Sweep2Sleep: Added right to left trigger, + cleanups, Ver 1.6

Now we can use driver to sweep from left to right or backwards
to turn screen off.

Added also info for other devs that want to add this.
need to culculate values depend on screen size.
now it's for 1920x1080
Implemented CPU MAX/MIN Freq Limit control, User Can use non OC kernel!

LG Hotplug and thermal controls reset freq to max all the time.
So to allow user to have 2.3Ghz max for real, this code is needed.

It's based on DVFS from Samsung I9505 kernel, with adaptation.

It's tuned via STweaks in my kernel, but can be tuned via other apps.
or scripts.

interface in /sys/power/cpufreq_max_limit || cpufreq_min_limit

Thanks to @Alucard24 for help and point in right place in code.
mmc: block: Remove call to mmc_blk_set_blksize

It no longer exists.

CRs-Fixed: 561382
Change-Id: I1ca5e8f93241264ed9ffdce53067cb16476c1c66
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
mmc: core: add deferred resume support

This patch enables the deferred resume support which would
prevent initialization of the card each time the system resumes.
With this change, the resume process would only be initiated if
a request is received.

Following scenario can occur:
1. device runtime suspended, system suspend is triggered
   When resumed, the device would not be resumed until a
   request is received.
2. device is runtime active, system suspend is triggered
   When resumed, the device would be marked as BUS_NEEDS_RESUME
   and actual resume would happen, when a request is received.
   At this point, the device may also enter runtime-suspend or
   system suspend may also occur. In both the cases, since the
   device has not been resumed, it won't be suspended again.
   However, the platform device would be runtime suspended
   and resumed as before.
   It can so happen that the card is removed even before a
   request is received. In this case the device would be
   resumed and card would be removed from core layer and
   upper layers would be notified.
In case of SDIO cards, this change would not have any effect
since manual resume would be enabled for devices supporting
a block read/write commands.

CRs-Fixed: 561382
Change-Id: Id39befea109ee24864dfde0898395b972d0a1b3a
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Disable TURBO BOOST code, it's no longer needed.

if user want 2.8Ghz! give it to him.
if not there is the CPU limit interface to set MAX OC.
nohz: stat: Fix CPU idle time accounting Since cpustat[CPUTIME_IDLE] is never connected to ts->idle_sleeptime,# Please enter the commit message for your changes. Lines starting never read from cpustat[CPUTIME_IDLE] when reporting stats in# with '#' will be ignored, and an empty message aborts the commit. /proc/stat.# On branch my-tw-4.4 Note this was rejected by Michal Hocko when it was initially proposed# (use "git reset HEAD <file>..." to unstage) by Martin Schwidefsky in LKML, so if you want to upstream it, better# find an alternative (either completely disable cpustat[CPUTIME_IDLE]# modified: kernel/time/tick-sched.c for CONFIG_NO_HZ or somehow connect them to keep them in sync.)# bug 1190321 Change-Id: Idc92488910b826aff850a010016d8326c7ab9e6c Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: http://git-master/r/214638 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Liang Cheng (SW) <licheng@nvidia.com> Tested-by: Liang Cheng (SW) <licheng@nvidia.com>
Fix Bug with MAX freq on gov change.
Kernel 2.8
Merge pull request #19 from dorimanx/master

sync