diff options
author | V Sujith Kumar Reddy <vsujithk@codeaurora.org> | 2020-11-16 10:49:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-16 23:04:34 +0300 |
commit | 313ebec48dedcac351557b5a84b8b2239951c238 (patch) | |
tree | 7941cfb600eb7d7f859b83e5ff5ba1a5afa387a8 /sound/soc/qcom/lpass-sc7180.c | |
parent | 6c2b6bb0d34319ea8390dc8b46465332b1dae025 (diff) | |
download | linux-313ebec48dedcac351557b5a84b8b2239951c238.tar.xz |
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 <vsujithk@codeaurora.org>
Signed-off-by: Srinivasa Rao Manidadapu <srivasam@codeaurora.org>
Link: https://lore.kernel.org/r/1605512955-7017-1-git-send-email-srivasam@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/lpass-sc7180.c')
-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, |