tegra-alt: add controls for CIF channel config
authorViraj Karandikar <vkarandikar@nvidia.com>
Fri, 19 Jun 2015 11:31:07 +0000 (16:31 +0530)
committerSumit Bhattacharya <sumitb@nvidia.com>
Wed, 5 Aug 2015 10:50:11 +0000 (03:50 -0700)
commitd17f88c03e55d8f0a250cd013b7d18a27c0d789c
tree125d3f61c27eae3a1de914bfd7209bc97b82394e
parent01b3d52a48bf7c3099bd11f0414edaa16abba07c
tegra-alt: add controls for CIF channel config

Add controls for configuring CIF channels for AMX and ADMAIF.

Add controls for CIF stereo/mono conversion for SFC.

Remove non-zero check in put_byte_map() to update byte mask.
Due to this check, byte 0 map wasn't getting updated for valid
value of 0.

Bug 200100724

Change-Id: I37b96594464f699db93552f5c1e148c51e963c5e
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/760115
(cherry picked from commit 8c2d36d0303aac45553cc64c148d8c62a8bcf880)
Reviewed-on: http://git-master/r/772770
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
sound/soc/tegra-alt/tegra210_admaif_alt.c
sound/soc/tegra-alt/tegra210_admaif_alt.h
sound/soc/tegra-alt/tegra210_amx_alt.c
sound/soc/tegra-alt/tegra210_amx_alt.h
sound/soc/tegra-alt/tegra210_sfc_alt.c
sound/soc/tegra-alt/tegra210_sfc_alt.h