ASoC: tegra: increase period count/size limits

Change-Id: I97701f8728ddbf05a3c9f67a03afc8cb5232a873
Signed-off-by: demetris <ierokipides.dem@gmail.com>
asoc: codecs: spdif: Fix support for setting bias level
Enable P880 support for bias level setting and addition of
dummy widgets as required by new ALSA driver.

Change-Id: Id56166f14064099c4a14ddf03896b909675ed999
Signed-off-by: demetris <ierokipides.dem@gmail.com>
sound/soc/tegra/tegra_pcm:
Add a INT_DURATION_THRESHOLD

Change-Id: Ia5a20b64bc263027ce9f6f7e387d53616e840ba8
 ASoC: Tegra: Improve capture stopping logic

During stopping capture session when I2s RX port is disabled I2S
FIFO may contain 2 bytes of data. In case of stereo capture done
in I2S mode I2S CIF will be configured for stereo and it will not
transmit residual 2 byte I2S FIFO data. As a result when next
capture session starts audio channel will get reversed due to
residual 2 bytes of data.

To solve this issue do a SOFT_RESET of I2S channel if after
disabling of I2S RX port I2S FIFO does not get empty. Also disable
APBIF FIFO after I2S RX port is disabled to follow source to
destination disabling sequence.

As a precaution similar check is also added form playback stop path.

Bug 1255915

Change-Id: I8ab74c96ca00e2a1fda0abfeb73244a83b847005
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/220203
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
GVS: Gerrit_Virtual_Submit
asoc: tegra: tdm: change buffer sizes.

    Change the min-buffer-size according to min-channels.
    Bug 1040171

Change-Id: Ief575c0a180c05521338d0d38fecb8907127b9fe
Reviewed-on: http://git-master/r/165340
(cherry picked from commit 93c738795b834290e71775206a8e94e58e4f223d)

Signed-off-by: Nitin Pai <npai@nvidia.com>
Change-Id: I8d49035c433cbbf0ed7e7a7df61b86fe1657dad3
Reviewed-on: http://git-master/r/166137
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
ASoC: Tegra: Correct tx and add missing rx names

Change-Id: I9186f27861f4f306e69eac0940e0242f2455ce75
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/162340
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
arch/arm/mach-tegra/include/mach/tegra_asoc_pdata
Add Voice codec def

Change-Id: Icdc087c543aa07afe7a4886d34edd019dfc3ee90
 asoc:tegra: fix dam cif programming

as per dam spec file chout is fixed to 32bits
so accept chout and ch1 input as 32bit always.

Reviewed-on: http://git-master/r/170931
(cherry picked from commit dd07f40144f763be77ce4e2aea5e7d4d22e6a134)
And adjusted to p880 kernel by Demetris

Change-Id: Ie9e29a7f21a5c29a5c786f62a87dc59b85fce1ca
Signed-off-by: demetris <ierokipides.dem@gmail.com>
asoc: tegra: MAX98088 machine: fix coverity issue

Add negative check to prevent negative index in array.

Bug 1046331

Change-Id: I8a5497cbd2ec124f8199c80c526088a16508efee
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/134653
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Merge branch 'cm-11.0' into kk_mkt