]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: meson: axg-iface: set continuous rates
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 20 Sep 2024 17:22:05 +0000 (19:22 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 29 Sep 2024 23:10:55 +0000 (01:10 +0200)
commit3a02cc576accdccb22ffd2d6ac1f9788c7b4c7ce
treef73c3d12e2fd5310040a4c7b212ca26ed9dc20ee
parent55c39835ee0ef94593a78f6ea808138d476f3b81
ASoC: meson: axg-iface: set continuous rates

The axg TDM HW does not depend on a selected set of rates.
The hardware itself, just takes an input clock and work with it, regardless
of its rate. In this way, the rates TDM can take are continuous.

What might force the use of specific rate are the PLL available as clock
and/or the codecs facing the TDM HW. Either way, this constraint does not
belong in the TDM interface driver.

Allow any rate as far as TDM is concerned by setting
SNDRV_PCM_RATE_CONTINUOUS with an interval it has been tested with.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://patch.msgid.link/20240920-asoc-axg-iface-continuous-v1-1-6075d7db0e61@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/axg-tdm-interface.c
sound/soc/meson/axg-tdm.h