msm: mdm_common: mdm2ap gpio status during boot

Before the mdm is sent the power on ioctl, we check
for the mdm2ap gpio status. Print the status so as
know whether it is already booted "high" or is it
"Low".

Change-Id: I12f5b503fd00311579638cfabd517241d99c24ed
Signed-off-by: Taniya Das <tdas@codeaurora.org>
msm: mdm_common: Add check for the mdm_ready flag

There could be a possibility that mdm2ap_status change
interrupt triggered before mdm_ready flag is set to 1
due to a glitch on the GPIO line. This could be safely
ignored as the MDM is not completely powered on.

Change-Id: I63779858bf20747bb96b12d61073c04c42ee04ec
Signed-off-by: Ramesh Gupta Guntha <rggupt@codeaurora.org>
fix cpufreq
Revert "d2: Raise ION_MM_SIZE"

This reverts commit 7b89e1610937de3be19d16313bdabe3dff42827f.
Revert "video: msm: Increase video encoding output buffer size"

This reverts commit 2465854c9c7653f58966e6ffd60b956da36214a1.
d2: Raise ION_MM_SIZE

From 96MB to 108MB

This was previously tried in CM10.1 but the size increase was to aggressive.
Still might not be the perfect size but does allow the ability to use
Instagram Video and not cause Youtube HD video playback issues.  I believe
something else needs to be tweaked for a complete fix, but this helps.

(continuation of http://review.cyanogenmod.org/#/c/45984/)

(https://github.com/CyanogenMod/android_kernel_samsung_d2/commit/23e378434c50583c83822eb0687c8d25be3cb435 for the idea)

	PS3: down to 104
	PS4: up to 108

Change-Id: I9facda8b4228e3d4f0981f2c682b4bd27e633645