]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: meson: axg-frddr: fix fifo depth on g12 and sm1
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Apr 2021 13:22:56 +0000 (15:22 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 13 Apr 2021 11:31:51 +0000 (12:31 +0100)
commit369586553a0dd93c7d269260dcae45310e48b94d
treee7608436fc1fb4e606d39a1547513fd5c7f5628c
parent820e29141de1e3ab9575ba97f0e50d7003fd5d93
ASoC: meson: axg-frddr: fix fifo depth on g12 and sm1

Previous fifo depth patch was only tested on axg, not g12 or sm1.
Of course, while adding hw_params dai callback for the axg, I forgot to do
the same for g12 and sm1, leaving the depth unset and breaking playback on
these SoCs.

Add hw_params callback to the g12 dai_ops to fix the problem.

Fixes: 437cc9a3ee8a ("ASoC: meson: axg-frddr: set fifo depth according to the period")
Reported-by: Christian Hewitt <christianshewitt@gmail.com>
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20210412132256.89920-1-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/axg-frddr.c