Home
last modified time | relevance | path

Searched hist:fe071237dee6d617e5cb0eb4856b23576a877479 (Results 1 – 2 of 2) sorted by relevance

/linux/sound/soc/mediatek/common/
H A Dmtk-soundcard-driver.hdiff fe071237dee6d617e5cb0eb4856b23576a877479 Tue Apr 16 09:13:59 CEST 2024 AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 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>
H A Dmtk-soundcard-driver.cdiff fe071237dee6d617e5cb0eb4856b23576a877479 Tue Apr 16 09:13:59 CEST 2024 AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 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>