summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Yu <jack.yu@realtek.com>2021-04-20 11:30:48 +0200
committerMark Brown <broonie@kernel.org>2021-04-20 14:47:29 +0200
commit7f51384f17b3e1039fbb2d3535cc777585dc3175 (patch)
tree4517ddfbe53dc82bd7583eda4493cb94022e9bda
parentMerge series "ASoC: rt286/rt298: Fixes for DMIC2 config and combo jack" from ... (diff)
downloadlinux-7f51384f17b3e1039fbb2d3535cc777585dc3175.tar.xz
linux-7f51384f17b3e1039fbb2d3535cc777585dc3175.zip
ASoC: rt1015p: add support on format S32_LE
Add support on format S32_LE for rt1015p. Signed-off-by: Jack Yu <jack.yu@realtek.com> Link: https://lore.kernel.org/r/377f0ee05d514c66b567eb6385ac7753@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/rt1015p.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt1015p.c b/sound/soc/codecs/rt1015p.c
index 39f4c4ed2ab8..40f2063aefbe 100644
--- a/sound/soc/codecs/rt1015p.c
+++ b/sound/soc/codecs/rt1015p.c
@@ -96,7 +96,8 @@ static struct snd_soc_dai_driver rt1015p_dai_driver = {
.name = "HiFi",
.playback = {
.stream_name = "HiFi Playback",
- .formats = SNDRV_PCM_FMTBIT_S24,
+ .formats = SNDRV_PCM_FMTBIT_S24 |
+ SNDRV_PCM_FMTBIT_S32,
.rates = SNDRV_PCM_RATE_48000,
.channels_min = 1,
.channels_max = 2,