OSDN Git Service

ASoC: meson: axg-fifo: relax period size constraints
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 18 Dec 2019 17:24:20 +0000 (18:24 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 18 Dec 2019 20:01:34 +0000 (20:01 +0000)
commit42b5ac832b0c3bf5b0bf98ea6d99efa5fb5d5075
tree62c3fdbfb453d2ae03ee6f2cc7ae852e9c4aa43c
parent23b89e1d62c75f2c1985449e968886e8a97860c0
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>
sound/soc/meson/axg-fifo.c
sound/soc/meson/axg-fifo.h