Skip to content

Commit ca0d879

Browse files
johnkeepingbroonie
authored andcommitted
ASoC: es8328: Set symmetric rates
Although the ES8328 does support different rates for capture and playback, only very limited combinations are supported (8kHz and 48kHz or 8.0182kHz and 44.1kHz) with most rates required to be symmetric. Instead of adding a lot of complexity for little gain, let's enforce symmetric rates. Signed-off-by: John Keeping <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 45749c9 commit ca0d879

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/codecs/es8328.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,7 @@ static struct snd_soc_dai_driver es8328_dai = {
703703
.formats = ES8328_FORMATS,
704704
},
705705
.ops = &es8328_dai_ops,
706+
.symmetric_rates = 1,
706707
};
707708

708709
static int es8328_suspend(struct snd_soc_codec *codec)

0 commit comments

Comments
 (0)