msm: wfd: Flush encoder before stop.

Flushes the encoder before stop to make
sure that encoder does not hold on to
any input/output buffers.

CRs-Fixed: 366268
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
(cherry picked from commit b6dd587b602ab3cf7149fa609cf912820d643577)

Change-Id: Ied753e48376a4a9835b5d598a847341f8d0c0816
Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>
msm: vidc: Invalidate the cache before processing metadata.

- Encoder output bit stream is getting corrupted if cache
  is not invalidated before meta data processing.
- ION_IOC_INV_CACHES is called before meta data processing
  to make sure physical data & cached data are the same.

CRs-Fixed: 358392
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
(cherry picked from commit 999a4d94539cbf3e7deb68c61b1539fcba15964d)

Conflicts:

	drivers/video/msm/vidc/1080p/ddl/vcd_ddl_interrupt_handler.c

Change-Id: I759ad9ca8407d98c810691a905f5b3e9d92e9301
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: sps: add flexible memory allocation for desc cache

When a descriptor FIFO is large, the cache for descriptors also requires
relatively large memory allocation. Use vmalloc for this case. For the
small memory allocation, still use kmalloc.

CRs-Fixed: 369996
Signed-off-by: Yan He <yanhe@codeaurora.org>
(cherry picked from commit 55f35cf5b78b4f5ef74843c45201568854719343)

Change-Id: I44fcb62436c964dc9fbddf4c0a930b41cd98456d
Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>
tspp: 8960: adding TSPP driver for 8960

Board file changes required for adding TSPP support to 8960
For more information on TSPP, please refer to:
Documentation/arm/msm/tspp.txt

CRs-fixed: 334732
Signed-off-by: Joel Nider <jnider@codeaurora.org>
(cherry picked from commit 266a2648d9828258108c16545e62459149c50323)

Change-Id: Ic8283ec563f5633d1b8d1a164ac105f03c10518a
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
mmc: msm_sdcc: merge VCCQ and VDDP regulator as VDD_IO regulator

Typically eMMC card have IO voltage different than card VDD
voltage and specification names it as VCCQ voltage. Currently
driver refers regulator powering VCCQ as sdc_vccq.

UHS-I (Ultra High Speed) SD cards may also have the IO voltage
different then card VDD voltage and there is no specification
defined name for it so driver refers regulator powering this
SD card IO voltage as sdc_vddp.

But ultimately both are referring to regulators powering IO voltage
so it makes sense to refer both (sdc_vccq & sdc_vddp) as
sdc_vdd_io regulator. So this patch combines them as sdc_vdd_io
regulator.

CRs-Fixed: 369258
Change-Id: Ieafffbaebc9843c0b8683b87d2bada6b7666c142
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/board-8930-regulator.c
	drivers/mmc/host/msm_sdcc.c

Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
ASoC: qdsp6: Fix device crash issue in LPA seek

Accessing buffer pointer before initialization results in device crash.
To memset the buffer using physical address also results in a device crash.
Fixed this by initializing the buffer pointer before it is accessed and
memset the buffer using the virtual address.

CRs-fixed: 359764
Signed-off-by: Amal Paul <amal@codeaurora.org>
(cherry picked from commit 3e0c932acabfeafcef6d06abc801ba8507ccaa46)

Change-Id: I47296fc224d260fa7549afe4d2531af6123b07e6
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm: pm-8x60: Don't restore ACPU frequency for hotplug cases.

During hotplug if power collapse fails don't try to restore the
ACPU clock frequency. For normal hotplug exit ACPU drivers save
and restore as part of hotplug notifications.

CRs-fixed: 334002
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
(cherry picked from commit 4e025d9b72f771e30e1803871ac21dbf9d1a366f)

Change-Id: Ifcba558b17a72c232c60ed38d7849f196db1ad44
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm_fb: display: Fix compilation error for non-HDMI builds

HDMI dependent functions need to be guarded under HDMI panel
macro to avoid non HDMI builds complilation errors.

CRs-Fixed: 366864

Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
(cherry picked from commit df694561ecc3105707af6bf323cd42f988293e3a)

Change-Id: I66d7dcae78120f7c47b10deef682a2f20751f0bd
Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>