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

From: Alexandre Mergnat
Date: Wed Apr 10 2024 - 10:27:19 EST


Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>

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