summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/msm_stub.c
diff options
context:
space:
mode:
authorVenkataadiseshu Jidugu <cvjidug@codeaurora.org>2020-05-14 13:10:04 +0530
committerVenkataadiseshu Jidugu <cvjidug@codeaurora.org>2020-05-15 18:38:29 +0530
commit55544dfe99343829e29e4b70045f39b83d7cf851 (patch)
treecf532280e82e2b3141c9d4e7cd95f3753c6f275a /sound/soc/codecs/msm_stub.c
parent460e8d10e88cbba45baf76ccfdfa23ceacc6d600 (diff)
asoc: msm-8998: TDM device grouping changes for capture path
Add support for multi port in Quat TDM capture interface. Add front end functionality to support TDM group device capture. Change-Id: I7d2a75a30ceabe7730d21452afd50581f20e3620 Signed-off-by: Venkataadiseshu Jidugu <cvjidug@codeaurora.org>
Diffstat (limited to 'sound/soc/codecs/msm_stub.c')
-rw-r--r--[-rwxr-xr-x]sound/soc/codecs/msm_stub.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/sound/soc/codecs/msm_stub.c b/sound/soc/codecs/msm_stub.c
index 9a9c54e4a74f..ffb3f84c0927 100755..100644
--- a/sound/soc/codecs/msm_stub.c
+++ b/sound/soc/codecs/msm_stub.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011-2014, 2020, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -24,9 +24,12 @@ static struct snd_soc_dai_driver msm_stub_dais[] = {
.playback = { /* Support maximum range */
.stream_name = "Playback",
.channels_min = 1,
- .channels_max = 8,
- .rates = SNDRV_PCM_RATE_8000_48000,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,
+ .channels_max = 16,
+ .rates = SNDRV_PCM_RATE_8000_384000,
+ .formats = (SNDRV_PCM_FMTBIT_S16_LE |
+ SNDRV_PCM_FMTBIT_S24_LE |
+ SNDRV_PCM_FMTBIT_S24_3LE |
+ SNDRV_PCM_FMTBIT_S32_LE),
},
},
{
@@ -34,10 +37,12 @@ static struct snd_soc_dai_driver msm_stub_dais[] = {
.capture = { /* Support maximum range */
.stream_name = "Record",
.channels_min = 1,
- .channels_max = 8,
+ .channels_max = 16,
.rates = SNDRV_PCM_RATE_8000_48000,
.formats = (SNDRV_PCM_FMTBIT_S16_LE |
- SNDRV_PCM_FMTBIT_S24_LE),
+ SNDRV_PCM_FMTBIT_S24_LE |
+ SNDRV_PCM_FMTBIT_S24_3LE |
+ SNDRV_PCM_FMTBIT_S32_LE),
},
},
};