diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2024-04-16 10:13:59 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-16 13:59:59 +0300 |
commit | fe071237dee6d617e5cb0eb4856b23576a877479 (patch) | |
tree | d83a3b191766c0bb1bb37c9a52493e67d1db659d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 44a53c8ec9cad02ce7dfd55094e8d7aeb48eb73c (diff) | |
download | linux-fe071237dee6d617e5cb0eb4856b23576a877479.tar.xz |
ASoC: mediatek: Add common snd_soc_ops .startup() callback
MediaTek platforms are typically setting PCM rate and channels
constraints for playback, capture and HDMI/DisplayPort playback:
commonize the startup callback by adding the PCM constraints data
to the mtk_platform_card_data structure and by reusing the common
mtk_soundcard_startup() function for all of them by getting back
the parameters from the aforementioned struct.
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240416071410.75620-8-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions