OSDN Git Service

ASoC: meson: axg-frddr: add g12a support
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 4 Apr 2019 11:17:31 +0000 (13:17 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 5 Apr 2019 02:26:18 +0000 (09:26 +0700)
commitfcced66f208d778aa2dea05910161689503c16bf
treef0420c3e2b298529d2e9874af97ca8dcc4189ba1
parenta3c23a8ad4dc07100d916d75ca30c982288b868d
ASoC: meson: axg-frddr: add g12a support

On the axg, frddr could only be connected to 1 downstream element, so the
playback was possible on 1 interface only at a time.

On the g12a, the frddr may connect and wait for the request of up to 3
downstream elements. With this, it possible for single playback to be
played on several interfaces at the same time.

Like the toddr fifo, the g12a frddr also need to take care of resetting
the read pointer to the initial fifo address when preparing a playback.

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