Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1396955
| From | John Keeping <john@metanate.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 9/9] ASoC: es8328: Set symmetric rates |
| Date | 2016-05-09 13:30 +0200 |
| Message-ID | <rwRxU-4vq-25@gated-at.bofh.it> (permalink) |
| References | <rwRxT-4vq-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <john@metanate.com>
---
sound/soc/codecs/es8328.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/es8328.c b/sound/soc/codecs/es8328.c
index 6ec15c8822d3..26d46e5cb402 100644
--- a/sound/soc/codecs/es8328.c
+++ b/sound/soc/codecs/es8328.c
@@ -703,6 +703,7 @@ static struct snd_soc_dai_driver es8328_dai = {
.formats = ES8328_FORMATS,
},
.ops = &es8328_dai_ops,
+ .symmetric_rates = 1,
};
static int es8328_suspend(struct snd_soc_codec *codec)
--
2.8.0.rc4.238.g874082a
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 9/9] ASoC: es8328: Set symmetric rates John Keeping <john@metanate.com> - 2016-05-09 13:30 +0200 Applied "ASoC: es8328: Set symmetric rates" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-05-10 20:50 +0200
csiph-web