ASoc: msm: Set default volume to zero for multi channel pcm driver.

-When the default volume is set to max, even If zero volume
is applied, we hear audio for 30ms of duration resulting in
a glitch like sound. This is because the volume is reduced
from max to zero in steps as we use soft volume in DSP.
-Set the default volume as zero, so that we dont hear any glitch
as soon as the session is opened.

Change-Id: Iffe82f585adb1d9776f8858f485515ba0cb9ae12
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
ASoC: msm: Fix the Rx and Tx concurrency issue

SX150X_GPIO(1, 14) and SX150X_GPIO(1, 13) are specific for the Rx path.
The GPIO were getting request and free for the SLIM TX affecting
the SLIMBUS RX path.
Remove the GPIO free and request from the SLIMBUS TX path.

CRs-Fixed: 471547
Change-Id: I173d5aa290c0d70ebd2e3f7d81e280a0749e0d5e
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
ASOC: msm: Prevent multiple deregistration of stream at close

- During Playback Close in Compressed driver, deregistration of
  physical stream was called in addition to passthrough stream
  for passthrough playback, this was causing spurious audio loss
  for other streams. deregPhyStream was called because of fallback
  to default option in switch case block after executing case
  for passthrough stream. Added break to prevent this fallback,
  preventing audio loss.

Change-Id: I54f3a57df7934d792e44af1535bf20aaaac07341
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
msm: display: pp register update

Only update pp registers once when there is a change.

Change-Id: I908012b8f560ece16483b872cfbd904b90406da8
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
USB: ehci-msm2: Add phy register over ride values support

This change add's support for overriding the PHY register values
as well as adds host_override_phy_init mod_param which can be used
to pass Host only mode PHY Configuration. This param can be used with
kernel command like below:

msm_ehci_host.host_override_phy_init=0x44,0x80,0x6B,0x81,0x2E,0x82,0x33,0x83,-1

This can be useful to get Host Mode Eye Diagram test results with
different configuration without changing or making any build.

CRs-Fixed: 457364
Change-Id: Ie631ee64e5cbc7083c316492bf9f316a1e750cf9
Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>
Merge "USB: ehci-msm2: Add phy register over ride values support"
Merge "ASoC: msm: Fix the Rx and Tx concurrency issue"
media: video: new deinterlacer setting

In order to increase the deinterlacer quality we change default
values to better values.

Change-Id: Ic3e2ac4b352ba00fb32eefb80c275bf1e55c0479
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
media: video: Expand configurable NR parameters

In order for customer to achieve level of acceptable NR vcap needed
to expose access to a few more NR registers.

Change-Id: If5fc18637255e4d6f68bfae76d72b6b49d9f9e44
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
media: video: Add ioctl for vcap tuning

To give more control to customer, tuning based on parameters given
to vcap from client is not added.

Change-Id: Iabe266dbb35e585db3db596e0cc87f151b425270
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
mmc: msm_sdcc: fix possible NULL pointer access

There is a possibility that "data" pointer may be accessed
in msmsdcc_irq() function when it's NULL. This change adds
the proper check to avoid NULL pointer dereference.

Change-Id: I95628cfb477d3e07436cffae84fa6baedc2e5905
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Merge "mmc: msm_sdcc: fix possible NULL pointer access"
Merge "ASOC: msm: Prevent multiple deregistration of stream at close"
Merge "ASoc: msm: Set default volume to zero for multi channel pcm driver."
Merge "msm: display: pp register update"
ehci-msm2: configure MPM interrupt to wakeup target on usb remote wakeup

During XO shutdown, USB can detect the remote wakeup signal and generate
ASYNC interrupt to QGIC, which in turn propogates this interrupt to MPM.
But currently MPM is not configured to wakeup the KRAIT on receiving this
interrupt. Configure this MPM to KRAIT interrupt, so MPM can wakeup
the target.

CRs-Fixed: 481792
Change-Id: I47b9fcf2ecf3d07d9180be6a2c58aaac4e13336a
Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>
Merge "ehci-msm2: configure MPM interrupt to wakeup target on usb remote wakeup"
Merge "media: video: new deinterlacer setting"
Merge "media: video: Expand configurable NR parameters"
Merge "media: video: Add ioctl for vcap tuning"