diff mbox series

ASoC: rt1015p: add support on format S32_LE

Message ID 377f0ee05d514c66b567eb6385ac7753@realtek.com
State Accepted
Commit 7f51384f17b3e1039fbb2d3535cc777585dc3175
Headers show
Series ASoC: rt1015p: add support on format S32_LE | expand

Commit Message

Jack Yu April 20, 2021, 9:30 a.m. UTC
Add support on format S32_LE for rt1015p.

Signed-off-by: Jack Yu <jack.yu@realtek.com>

---
 sound/soc/codecs/rt1015p.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.29.0
diff mbox series

Patch

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,