Revert "Asoc:msm:Added Buffer overflow check"

* This commit causes issues with the CM media stack

This reverts commit ad88eb7716f3b57c19216ffe22948d840ef274eb.

Change-Id: I65f6cbe3e6b14994635d2056d4483a798ae003cc
Revert "ASoC: msm: increase media1 buffer size to 8k"

* This commit causes issues with the CM audio HAL

This reverts commit b31f705db744bde4bf4a74842fbcbcab67eaaf7e.
Revert "ASoC: msm: Decrease the playback period size of PCM driver"

This reverts commit b0580099ac7d5e735fb42946612a499bf196cda1.

Change-Id: I0d9affad57bbdfd2b4c89dd78863a30d6e7575ad
ASoC: msm: Flexible period size for pcm playback

PCM driver was configured for fixed buffer
size on the playback path. With this, varying
the buffer sizes on the playback path was not
possible. To fix this, support for flexible
period sizes is added by setting different
values for min and max buffer sizes

Change-Id: I00720773d8023a03e15c6dd10b70adcec9552807
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
Signed-off-by: Mekala Natarajan <mekalan@codeaurora.org>
msm: mdp: Disable early suspend only for the MDP driver

Early suspend is deprecated in the framework but disabling it
completely can affect other subsystems. Disabling only for the
MDP driver.

Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
msm: mdp: Disable early suspend locally

undefing at the header level could mess with other components.

Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
msm: display: command mode panel release fence

For command mode panel, release fence should be signaled after the buffer is
sent to the panel.  For performance consideration, allow one more commit to be
queued.  Keep the second kick off as short as enough.

Change-Id: I19af075ebf480d3e81b46b1cd2ef21a2893f143e
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>
msm: mdp: Change msmfb kworker to kthread

This worker can be a longer running task depending on the number
of frames queued, hence change it to a thread.

Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Change-Id: Iebf7e95d0486ac43aa6a12d70442936600c0249a
msm: mdp: Update sync pt. behaviour

Add a retire fence and clean up the existing release fence
implementation

Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Change-Id: Iecf7e95d0786ac43aa6a12d70442936600c0249a
msm: display: Set dsi_panel_off flag in panel off function

* Because command mode panels are capable of queuing multiple commits
  while panel is turning off, the dsi_panel_off flag must be
  manipulated in the actual panel off function (panel_disable) to avoid
  a race where the commit thread re-enables a panel that has already
  been turned off.

Change-Id: I1e678013fbf7b147464eeaed76a31e82129f8868
ASoC: msm: Reduce maximum number of VOIP periods
msm: vidc: free the recon buffers in cleanup function

- The recon buffers were not released when video recording
  was killed abruptly leading to memory leak.

- Fix provided to release the recon buffers when media
  server killed abruptly.

Change-Id: I48ac1a592719446b7e4bf87bbd707d09351d1e61
Signed-off-by: srikarri <sridur@codeaurora.org>
drivers: nfc: pn544-mot: Add set power IOCTL

IOCTL support is required by userspace to power on the NFC chip.

Change-Id: Icacdb58f380a79e6163cd470ba94ac13e84dabee
Revert "Propagate (CR) - WLAN: Add interface specific filter configuration"

This reverts commit c6af39d083ee7101812bdd9d1390546f8d1275a4.

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
ghost: Appropriate changes to build script for CM builds

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>