Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca0d8797 authored by John Keeping's avatar John Keeping Committed by Mark Brown
Browse files

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: default avatarJohn Keeping <john@metanate.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 45749c91
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -703,6 +703,7 @@ static struct snd_soc_dai_driver es8328_dai = {
		.formats = ES8328_FORMATS,
		.formats = ES8328_FORMATS,
	},
	},
	.ops = &es8328_dai_ops,
	.ops = &es8328_dai_ops,
	.symmetric_rates = 1,
};
};


static int es8328_suspend(struct snd_soc_codec *codec)
static int es8328_suspend(struct snd_soc_codec *codec)