ALSA: PCM: volume API implementation

Introduced a new helper function snd_pcm_add_volume_ctls() to
create control elements representing the volume for each PCM
(sub)stream.

Change-Id: Id483257c4fe84a909e7a4af3a5aa3e4f0d5d9ea5
Signed-off-by: Damir Didjusto <damird@codeaurora.org>
ASoC: msm: Modify default buffer params of compressed driver

There can be a use case where HAL may request for
Smaller period size and corresponding buffer size for
A session, update compressed driver default period size
And buffer size based on the userspace configuration

Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
(cherry picked from commit d4e62aeb8839cf9accf2356568a14adb8d24152f)
(cherry picked from commit 462a09e10e32afb49ca50bdbfb8c4a4e13cc068a)

Change-Id: Id1aef6c71c5c71b269b6607816f7c3e5c4fd4314
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
ASoC: msm: Add support for configuring buffer size in multichannel driver

The buffer size is hardcoded in multichannel pcm driver. This results
in more pcm data in the driver for smaller sampling rates causing
Audio Video sync issues and old buffers played during seek operation.
Add support for configuring buffer size in multi channel pcm driver.
based on sample rate and channels.

Change-Id: I3db4a026b6627177168656769c3f2751dbb12391
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Revert "msm: mdp: Revert MDP Port split changes"

This reverts commit 3c3109beb62b1e19251e000df438b6b90b1194a1.
mmi: Raise MDP bandwidth values

* Apparently some users are still having underruns. Raise the bw
  multipliers a bit again and comment out logging that kicks in
  during mdp4_overlay_mdp_perf_req

Change-Id: Ic192a6fa08116dece64bee294917e0e905c04a56
ASoC : msm: HDMI 5.1 LPCM playback support.

Support 6 channels configuration in HDMI driver
and the ALSA framework to play 5.1 LPCM format

CRs-Fixed: 370096
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
(cherry picked from commit fc3b780b571b62f302fe38c9faaa58508ad5464f)
(cherry picked from commit 7fd4b7af623ac3dfef0b23d4e68758b1a65941d6)

Change-Id: I091cd3187e9c68eb2589c9b3412b1d8a7bb59164
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>

Conflicts:
	sound/soc/msm/mpq8064.c
	sound/soc/msm/msm-dai-fe.c
	sound/soc/msm/msm-dai-q6.c