msm_fb: Correct GC offset which is same for LM0 and LM1

GC LUT Offset for LayerMixer 0 and LayerMixer 1 is same
hence correct the wrong offset for LayerMixer 1.

CRs-Fixed: 374401
Change-Id: Ia82de062404947998b4595031cc928eac882ca48
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
msm_serial_hs_lite: Ignore break/error characters in RX queue

Disallow break/framing error characters from entering the
UARTDM RX queue, since this may stall the TX path and
prevent further console messages from being printed.

CRs-Fixed: 359256
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
(cherry picked from commit e4b0d7910cea7f79c78bd28c8b5d0cb1613ad210)

Change-Id: I93ed24f0daae7de41aef39e9c6a1064b04b548a9
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm_serial_hs_lite: Read back the NCF register after writing

The UARTDM core requires that the NCF value be read back
after being written to avoid data from being dropped from
the TX queue.

CRs-fixed: 359256
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
(cherry picked from commit 4f1025fb7e4fa0bad3dacabc5df8f666d4c3d321)

Change-Id: Ibfa1493207d2dd9b6b4234b787c2d6ef8fe8dd04
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm_serial_hs_lite: Refactor wait_for_xmitr

Remove the second argument to wait_for_xmitr in preparation
for further refactoring of the console code, and because
all call sites wait for the same status bit.

CRs-fixed: 359256
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
(cherry picked from commit 9ec248432701cb73d5ba0a37e943ce890dcbfdd1)

Change-Id: Ic0ccd95a7e9063cc406c97d24da188086a3ae72a
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm_serial_hs_lite: Write NCF when initializing the console

The console TX path does not write NCF until after TX_READY
is asserted, meaning that the wait_for_xmitr path could be
polling on a ready bit dictated by the last NCF value set
by the bootloader.

CRs-fixed: 359256
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
(cherry picked from commit f525c1179c7bb943ff6319ce033204bd3f790153)

Change-Id: I22282c77e1260a1d4d850952c0fbc07669378e9b
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm: camera: Change OV2720 exposure setting

When sensor is changed from one mode to another, Validate
coarse integration time and stretch frame length line if
needed. This is to ensure that coarse integration time is
always less than frame length lines.

Change-Id: I7c06e7d1d143d299a6203c56fad351e8cad2f5a1
Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
msm: sdio_ctl: Update the driver to support poll operation

Poll operation is needed by user-space modules, to select among
multiple file descriptors for read/write operation.

CRs-Fixed: 357121
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
(cherry picked from commit 70bbcbc9b7c41d0f0865065e39677e8e8aaba31b)

Change-Id: Id547f09ee3e09f28bb942665b542eeb113a672fe
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: socinfo: Add new MSM IDs for 7127A and 7125A.

Add new MSM IDs for 7127A and 7125A parts.

Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>
(cherry picked from commit 3fed2bc05ddaf40ac84c3777640492569ed18e07)

Change-Id: I6d5f9a95f73c571da40b130d86f6c8747d483599
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: board: share the same ADM channel between NAND and eMMC

Currently for MSM7x27A and MSM7x30, all the SDCC slots share
the same ADM channel. This means both SD and eMMC card slots
will share the same ADM channel. But as SD card can be hot pluggable,
SD card insertion/removal can cause the ADM channel flush which
possibly can affect the ongoing transfer on eMMC (as it shares the
same ADM channel with SD card).

On the other hand, we generally have either eMMC or NAND flash device
active on any platform. So if eMMC is used, NAND won't be used or
mostly not present on board. This means eMMC slot can use the same
ADM channel which NAND uses and this way both SD and eMMC slots will
have separate ADM channel.

CRs-fixed: 374842
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
(cherry picked from commit f29aefdd29f3add555d119f814ed209c8e455374)

Change-Id: I8cd05cd7d3b914f7de1f38146ca14eb4a08c6c57
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
radio-tavarua: Add IOCTL commands to configure the SPUR Table

Provide interfaces to allow host to update the SPUR Table
with newly found spur frequencies and their RMSSI values.

CRs-Fixed: 352591
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
(cherry picked from commit 93eb1769b8cc503bc431d266b4cd5aa5ea73a49e)

Change-Id: I3d7b47d4892c1c0ae1e1d83809cf74b46d43396d
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>