Asoc: msm: Fix for compressed passthrough playback case

- Channel allocation should be 0 in the case of compressed
  passthrough playback case.
- If channel allocation value passed from userspace is set for
  compressed pass through playback case like it is done in lpcm,
  the playback is broken.
- Fix this by setting channel allocation only for lpcm case.

Change-Id: I9b389e9758613269745965f0e8ac43a7149746c1
Signed-off-by: Amal Paul <amal@codeaurora.org>
msm_fb: display: source width check for RGB
pipe in mdp4_overlay

The RGB fetch module in MDP will not read
properly if src_w is too small. This patch
resolves the underruns observed in case of
video panels .

CRs-Fixed: 439087
Change-Id: If848ae6270585aa9eea27fa655ba309b4957085d
Signed-off-by: Mayank Goyal <goyalm@codeaurora.org>
ASoC: msm: Add ioctl for the dynamic compressed pastthrough stream routing

Add the ioctl for the dynamic routing of compressed pasthrough streams.
Add the support for routing the MULTIMEDIA7 and MULTIMEDIA8 to
the PSEUDO and AFE_PCM_RX ports.

CRs-Fixed: 432377
Change-Id: I7839f7944dca5fd79cba7cd5f5e8ac3c48871bb0
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
msm_fb: display: fix frame buffer's ref count leak

This patch clear MDP_MEMORY_ID_TYPE_FB from pipe's
flag so that fput_light() and fget_light() can be applied
to frame buffer evenly at end of pipe operation. Otherwise
there has kernel unable to handle NULL pointer panic caused
by frame buffer's ref count leak.

CRs-fixed: 411394
Change-Id: Ib2b72e6277480b5ace23cda554be485d9d477b3d
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
msm_fb: display: Evenly balancing load on MDP ports

Moving RGB1 and RGB2 to AXI port 1. This fixes underrun issues seen
on External display while connecting and disconnecting HDMI. This patch
evenly balancing pipe loads on each port.

Change-Id: I2dc1166d04bb938f9e233a6de52f1a8a3fdd29e2
CRs-Fixed: 435458
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
Merge "msm_fb: display: fix frame buffer's ref count leak"
Merge "msm_fb: display: Evenly balancing load on MDP ports"
ASoC: msm: Fix the independent volume controls for the audio drivers

CRs-fixed: 445390

Bookkeeping the private data for every session and apply
the volumes based on the frontend id.

Change-Id: Iddf49f184ed336be6a05f674bbca5de379e4daaf
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
Merge "msm_fb: display: source width check for RGB pipe in mdp4_overlay"
Merge "ASoC: msm: Fix the independent volume controls for the audio drivers"
Merge "Asoc: msm: Fix for compressed passthrough playback case"
Merge "ASoC: msm: Add ioctl for the dynamic compressed pastthrough stream routing"
msm: board8064-storage: SD card drive strength reduced to 4ma

On MPQ-DMA, since the routing lines are shorter, the higher
sdcard drive is causing reflections, hence drive strength
reduced from 8ma to 4ma

Change-Id: If9ffb577e1d7710b83df18b6e885409394a68483
Signed-off-by: Ranjith Kagathi Ananda <rkagat@codeaurora.org>
msm: board-8064 files: Added dma() platform specific code

The condition if(machine_is_mpq8064_dma()) is added in
various board files appropriately

Change-Id: I02674379ba7776570cab7c46334e6918289427fe
Signed-off-by: Ranjith Kagathi Ananda <rkagat@codeaurora.org>
New machine type defined for DMA

Change-Id: I016549f68d6461c4ece43ecd167bfbfd802e25e9
Signed-off-by: Ranjith Kagathi Ananda <rkagat@codeaurora.org>
ASoC: msm: Update the copyright info to Linux Foundation

Update the copyright info to Linux Foundation.

Change-Id: I6c61ae6e76fa2393f413f44f01e9a8a4c2005aa0
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
Merge "msm: board8064-storage: SD card drive strength reduced to 4ma"
Merge "New machine type defined for DMA"
Merge "msm: board-8064 files: Added dma() platform specific code"
media: dvb: mpq: Fix issue with framing mechanism

The demux driver identifies video frames by searchning for patterns in
the video payload. A pattern can be spread over two separate TS packets,
so the pattern lookup mechanism must take into consideration the possible
prefix sizes. Also, when reporting the written data length, the prefix
size (if used) should be added.
This patch fixes issues with not taking all possible prefix sizes into
consideration, and with not reporting the data length properly when a
prefix is used.

Change-Id: I6f4829e860c2d7518964a456a36418be26a06080
Signed-off-by: Liron Kuch <lkuch@codeaurora.org>
(cherry picked from commit 8f237edfed82ea59ad86bc61fffdaaef7f70a21c)

Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>