]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: meson: axg-frddr: set fifo depth according to the period
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 7 Apr 2021 14:57:14 +0000 (16:57 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 7 Apr 2021 15:57:31 +0000 (16:57 +0100)
commite1ad7f6313787f5ad931fb114b81256331127b2b
tree44b5372808aa761a341d2868aee611a50ec94b77
parent0fb22951506552894462b0a6fae0b58be23fdd4c
ASoC: meson: axg-frddr: set fifo depth according to the period

When the period is small, using all the FRDDR fifo depth increases the
latency of the playback because the following device won't start pulling
data until the fifo reaches the depth set. We can adjust this depth so trim
it down for small periods.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20210407145714.311138-1-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/axg-frddr.c