From 2fc3a11f17254915bfae79a692f6e6c0234530ed Mon Sep 17 00:00:00 2001 From: Xing Zheng Date: Mon, 19 Apr 2021 08:58:15 +0800 Subject: [PATCH] ASoC: es7202: Fix the missing the sound format of bit Signed-off-by: Xing Zheng Change-Id: I49eb4a699572867e338c06f457ab0b0f7acdc6fa --- sound/soc/codecs/es7202.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sound/soc/codecs/es7202.c b/sound/soc/codecs/es7202.c index 38bc78c9dab9..e1160e68382d 100644 --- a/sound/soc/codecs/es7202.c +++ b/sound/soc/codecs/es7202.c @@ -556,6 +556,7 @@ static struct snd_soc_dai_driver es7202_dai0 = { .channels_min = 1, .channels_max = 2, .rates = es7202_RATES, + .formats = SNDRV_PCM_FMTBIT_S16_LE, }, .ops = &es7202_ops, .symmetric_rates = 1, @@ -569,6 +570,7 @@ static struct snd_soc_dai_driver es7202_dai1 = { .channels_min = 1, .channels_max = 2, .rates = es7202_RATES, + .formats = SNDRV_PCM_FMTBIT_S16_LE, }, .ops = &es7202_ops, .symmetric_rates = 1, @@ -582,6 +584,7 @@ static struct snd_soc_dai_driver es7202_dai2 = { .channels_min = 1, .channels_max = 2, .rates = es7202_RATES, + .formats = SNDRV_PCM_FMTBIT_S16_LE, }, .ops = &es7202_ops, .symmetric_rates = 1, @@ -595,6 +598,7 @@ static struct snd_soc_dai_driver es7202_dai3 = { .channels_min = 1, .channels_max = 2, .rates = es7202_RATES, + .formats = SNDRV_PCM_FMTBIT_S16_LE, }, .ops = &es7202_ops, .symmetric_rates = 1, @@ -608,6 +612,7 @@ static struct snd_soc_dai_driver es7202_dai4 = { .channels_min = 1, .channels_max = 2, .rates = es7202_RATES, + .formats = SNDRV_PCM_FMTBIT_S16_LE, }, .ops = &es7202_ops, .symmetric_rates = 1, @@ -621,6 +626,7 @@ static struct snd_soc_dai_driver es7202_dai5 = { .channels_min = 1, .channels_max = 2, .rates = es7202_RATES, + .formats = SNDRV_PCM_FMTBIT_S16_LE, }, .ops = &es7202_ops, .symmetric_rates = 1, @@ -634,6 +640,7 @@ static struct snd_soc_dai_driver es7202_dai6 = { .channels_min = 1, .channels_max = 2, .rates = es7202_RATES, + .formats = SNDRV_PCM_FMTBIT_S16_LE, }, .ops = &es7202_ops, .symmetric_rates = 1, @@ -647,6 +654,7 @@ static struct snd_soc_dai_driver es7202_dai7 = { .channels_min = 1, .channels_max = 2, .rates = es7202_RATES, + .formats = SNDRV_PCM_FMTBIT_S16_LE, }, .ops = &es7202_ops, .symmetric_rates = 1,