[PATCH v4 07/18] ASoC: mediatek: Add common snd_soc_ops .startup() callback

Alexandre Mergnat amergnat at baylibre.com
Wed Apr 10 07:27:06 PDT 2024


Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>

On 09/04/2024 13:32, AngeloGioacchino Del Regno wrote:
> 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.

-- 
Regards,
Alexandre



More information about the Linux-mediatek mailing list