diff options
author | V Sujith Kumar Reddy <[email protected]> | 2020-11-16 13:19:15 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-11-16 20:04:34 +0000 |
commit | 313ebec48dedcac351557b5a84b8b2239951c238 (patch) | |
tree | 7941cfb600eb7d7f859b83e5ff5ba1a5afa387a8 | |
parent | 6c2b6bb0d34319ea8390dc8b46465332b1dae025 (diff) |
ASoC: qcom: lpass-sc7180: Add 32 bit format support for capture
Add 32 bit format support for capture in lpass-sc7180
snd_soc_dai_driver capabilities. Need to add contstraints
in machine driver so that only specific format allowed.
Signed-off-by: V Sujith Kumar Reddy <[email protected]>
Signed-off-by: Srinivasa Rao Manidadapu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | sound/soc/qcom/lpass-sc7180.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/qcom/lpass-sc7180.c b/sound/soc/qcom/lpass-sc7180.c index 61a208fe6875..da1d051622fb 100644 --- a/sound/soc/qcom/lpass-sc7180.c +++ b/sound/soc/qcom/lpass-sc7180.c @@ -34,7 +34,8 @@ static struct snd_soc_dai_driver sc7180_lpass_cpu_dai_driver[] = { }, .capture = { .stream_name = "Primary Capture", - .formats = SNDRV_PCM_FMTBIT_S16, + .formats = SNDRV_PCM_FMTBIT_S16 | + SNDRV_PCM_FMTBIT_S32, .rates = SNDRV_PCM_RATE_48000, .rate_min = 48000, .rate_max = 48000, |