Increase kernel SMI memory size

Kernel SMI memory is increased to 6MB in order to
run multiple instances of video. User space SMI memory size
will be automatically reduced by size equal to increase in
kernel SMI memory size.
msm_fb: HDMI: EDID > 2 blocks, params not set.

Currently the driver discards one byte from DDC buffer.
In cases where EDID exceeds two block in length we need to discard
a total of 3 bytes before reading from EDID seg.

Change-Id: I60ff039cbc3ff4bbc81ec61de696d25c3ddca92e
CRs-Fixed: 307706
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
Signed-off-by: Abhishek Kharbanda <akharban@codeaurora.org>
msm: smd_tty: Reset the open flag in close operation

The open flag in each SMD tty device is not reset during the close
operation. When the SMD tty device is closed and reopened quickly,
this leads to the completion of open operation even though the
underlying SMD channel is not open completely. Hence the few
initial operations on the SMD tty device fails. The open flag is
reset during the close operation, so that the successive open operation
waits until the underlying SMD channel is open completely.

Change-Id: I6c154a3c0fc9d084d4374c696fe05b8593999cf9
CRs-Fixed: 318810
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
msm: smd_tty: Check the device is open before scheduling tasklets

When the SMD tty device is closed, tasklets to perform read operation
is killed first and then the underlying SMD channel is closed. There
is a race condition where the tasklet gets rescuduled between these
two operations. So ensure that the device is open before scheduling
tasklets to avoid this race condition.

Change-Id: I80c4e1538a69b5b05c1aadb0f4b0905f96a90001
CRs-Fixed: 318764
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
msm: camera: Free buffers from frame queue at open

Free all pending frames in frame queue before cam_frame
thread opens frame device to avoid duplication of buffer
free

CRs-Fixed: 318202
Change-Id: I25d1718a37a94fa83563c4b6e99a1b7560917a7f
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
Signed-off-by: Darescu Ionut <johnny@esi.ro>
msm: camera: add ion support to native driver.

This change adds ion support to native (non V4L2)
camera driver. It also adds ion structures to the msm_frame
structure.

Adapted to HTC EVO 3D by Johnnyslt

Change-Id: I9be720e7d9924074706c93eec52178cb6f130af6
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
Signed-off-by: Darescu Ionut <johnny@esi.ro>