summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt1015p.c
diff options
context:
space:
mode:
authorJack Yu <jack.yu@realtek.com>2021-04-20 12:30:48 +0300
committerMark Brown <broonie@kernel.org>2021-04-20 15:47:29 +0300
commit7f51384f17b3e1039fbb2d3535cc777585dc3175 (patch)
tree4517ddfbe53dc82bd7583eda4493cb94022e9bda /sound/soc/codecs/rt1015p.c
parent4b1013f407dc75e28df2af086e94e8e0cbacfb9d (diff)
downloadlinux-7f51384f17b3e1039fbb2d3535cc777585dc3175.tar.xz
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>
Diffstat (limited to 'sound/soc/codecs/rt1015p.c')
-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,