Squashed update of kernel from 3.0.60 to 3.0.61
msm: kgsl: Set sysfs max clock for devices with no power scale policy

When the sysfs entry for max clock is updated, set it immediately for the
devices that has no power scale policy. This prevents the device from
running with undesired clock.

(cherry picked from commit 6ca8011b4feb30c29e8e6fb5b3571fd2314879e0)

Change-Id: I3a4d689d90036edc243fa97562a79394ace94c2a
CRs-fixed: 408963
Signed-off-by: Ranjhith Kalisamy <ranjhith@codeaurora.org>
msm: kgsl: Turn off the CP_DEBUG dynamic clock

The CP dynamic clock seems to be glitchy when the CP clocks are turned
back on after a power event. Turn off said dynamic clock control at
init time. The impact of leaving the dynamic clock control off is
negligible since the CP clock is only on when the CP is actually in
use.

CRs-fixed: 402119
CRs-fixed: 409253
CRs-fixed: 413224
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
(cherry picked from commit ed201aa291dfe13629d8c6cfa1d6e6f229b0c3c2)

Conflicts:

	drivers/gpu/msm/adreno_ringbuffer.c

Change-Id: I97d82ab71def370c16d4a5504087467aba82e4bb
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
Revert "msm: audio: qdsp5v2: Switch audio drivers to ION."

This reverts commit 11ba6d09056a2fc6687e062d1806ecc6c3247d38.
Revert "audio: msm: qdsp5v2: Switch hostPCM driver to ION"

This reverts commit fc299befcc36fde556baa27ace1c84a1b4bb0fb7.
Revert "msm: Qdsp5v2: audio: Migrate to ION"

This reverts commit 0b7d9f2d90b9ebca5023e28f35d0b0e15c5b7c28.
Revert "msm:vidc: Amend error checks on ION API failures"

This reverts commit a38f668610253fbf53ec6a90de281d2676aebb39.
Revert "msm: vidc: error handling for ion_map_iommu calls."

This reverts commit 22f902b33849c7687284e5963bd9cbbc31a207bd.
Revert "msm: vidc: Add support for ION memory on 8x55 target"

This reverts commit c864aae857f22c9c7a0f6368b3e52cada050dea3.
ancora_tmo: Revert ION changes to board file
ancora: Revert ION changes to board file
ancora: Fix camera compile

Sensors should be detected fine in kernel space now, but
user space is still a problem since we don't have HAL sources.
Fix camera compile error for ancora_tmo
ariesve: restore pmem sizes and disable ION in board!
Camera preview working!
Adjust jpeg quality parameter!
Solved camera take picture issue!
Disable suspend of msm_fb on chargin boot mode!
msm: display: Prevent fb suspend in charging mode for all
msm: display: fb blend setting via MSMFB_METADATA_SET ioctl

MSMFB_METADATA_SET ioctl is added for the fb user to pass
in additional infomation rather than using reserved
fields.
User can set pre-multiplied alpha for the frame buffer via this
ioctl, overlay blend setting will take this into account.

(cherry picked from commit a2505533d43169288d5508c44ec8ac968a65b82c)

Change-Id: Iba20537a07eeca6a7dffd2910fbc28836ba2f3fa
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
Update defconfigs