linux/sound/soc/meson
Jerome Brunet 05dceb5a62 ASoC: meson: axg-fifo: fix fifo threshold setup
commit 864cee90d4 upstream.

On TODDR sm1, the fifo threshold register field is slightly different
compared to the other SoCs. This leads to the fifo A being flushed to
memory every 8kB. If the period is smaller than that, several periods
are pushed to memory and notified at once. This is not ideal.

Fix the register field update. With this, the fifos are flushed every
128B. We could still do better, like adapt the threshold depending on
the period size, but at least it consistent across the different
SoC/fifos

Fixes: 5ac825c3d8 ("ASoC: meson: axg-toddr: add sm1 support")
Reported-by: Alden DSouza <aldend@google.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20191218172420.1199117-2-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-11 04:35:44 -08:00
..
Kconfig ASoC: meson: g12a-tohdmitx: require regmap mmio 2019-08-20 14:11:56 +01:00
Makefile ASoC: meson: add g12a tohdmitx control 2019-05-16 12:13:35 +01:00
axg-card.c ASoC: soc-core: add for_each_xxx macro for aux_dev 2019-08-09 18:13:58 +01:00
axg-fifo.c ASoC: meson: axg-fifo: fix fifo threshold setup 2020-02-11 04:35:44 -08:00
axg-fifo.h ASoC: meson: axg-fifo: fix fifo threshold setup 2020-02-11 04:35:44 -08:00
axg-frddr.c ASoC: meson: axg-fifo: fix fifo threshold setup 2020-02-11 04:35:44 -08:00
axg-pdm.c ASoC: meson: axg-pdm: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:07:29 +01:00
axg-spdifin.c ASoC: meson: axg-spdifin: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:07:48 +01:00
axg-spdifout.c ASoC: meson: axg-spdifout: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:08:07 +01:00
axg-tdm-formatter.c Merge branch 'asoc-5.3' into asoc-5.4 2019-08-20 18:28:43 +01:00
axg-tdm-formatter.h ASoC: meson: axg-tdm-formatter: rework quirks settings 2019-04-05 09:26:39 +07:00
axg-tdm-interface.c ASoC: meson: axg-tdm: consistently use SND_SOC_DAIFMT defines 2019-06-13 19:46:31 +01:00
axg-tdm.h ASoC: meson: axg-tdm: fix sample clock inversion 2019-06-13 19:44:02 +01:00
axg-tdmin.c ASoC: meson: tdmin: expose all 16 inputs 2019-09-05 18:17:13 +01:00
axg-tdmout.c ASoC: meson: tdmout: add sm1 support 2019-09-05 18:18:07 +01:00
axg-toddr.c ASoC: meson: axg-fifo: fix fifo threshold setup 2020-02-11 04:35:44 -08:00
g12a-tohdmitx.c ASoC: meson: g12a-tohdmitx: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:12:34 +01:00