aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/meson/axg-fifo.h
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2019-12-18 18:24:20 +0100
committerMark Brown <broonie@kernel.org>2019-12-18 20:01:34 +0000
commit42b5ac832b0c3bf5b0bf98ea6d99efa5fb5d5075 (patch)
tree62c3fdbfb453d2ae03ee6f2cc7ae852e9c4aa43c /sound/soc/meson/axg-fifo.h
parentASoC: meson: axg-fifo: improve depth handling (diff)
downloadlinux-stable-42b5ac832b0c3bf5b0bf98ea6d99efa5fb5d5075.tar.xz
linux-stable-42b5ac832b0c3bf5b0bf98ea6d99efa5fb5d5075.zip
ASoC: meson: axg-fifo: relax period size constraints
Now that the fifo depths and thresholds are properly in the axg-fifo driver, we can relax the constraints on period. As long as the period is a multiple of the fifo burst size (8 bytes) things should be OK. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20191218172420.1199117-5-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/axg-fifo.h')
-rw-r--r--sound/soc/meson/axg-fifo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/meson/axg-fifo.h b/sound/soc/meson/axg-fifo.h
index 521b54e98fd3..b63acd723c87 100644
--- a/sound/soc/meson/axg-fifo.h
+++ b/sound/soc/meson/axg-fifo.h
@@ -31,8 +31,6 @@ struct snd_soc_pcm_runtime;
SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE)
#define AXG_FIFO_BURST 8
-#define AXG_FIFO_MIN_CNT 64
-#define AXG_FIFO_MIN_DEPTH (AXG_FIFO_BURST * AXG_FIFO_MIN_CNT)
#define FIFO_INT_ADDR_FINISH BIT(0)
#define FIFO_INT_ADDR_INT BIT(1)