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>
FIOPS Scheduler