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