Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx> On 09/04/2024 13:33, AngeloGioacchino Del Regno wrote:
Add a const mtk_pcm_constraints_data struct array with all of the (again, constant) constraints for all of the supported usecases, remove the duplicated functions and call mtk_soundcard_startup() instead in all of the .startup() callbacks.
-- Regards, Alexandre
- References:
- [PATCH v4 00/18] SoC: Cleanup MediaTek soundcard machine drivers
- From: AngeloGioacchino Del Regno
- [PATCH v4 09/18] ASoC: mediatek: mt8192: Migrate to the common mtk_soundcard_startup
- From: AngeloGioacchino Del Regno
- [PATCH v4 00/18] SoC: Cleanup MediaTek soundcard machine drivers
- Prev by Date: Re: [PATCH v4 07/18] ASoC: mediatek: Add common snd_soc_ops .startup() callback
- Next by Date: Re: [PATCH v2] ASoC: soc-card: soc-card-test: Fix some error handling in probe()
- Previous by thread: [PATCH v4 09/18] ASoC: mediatek: mt8192: Migrate to the common mtk_soundcard_startup
- Next by thread: [PATCH v4 10/18] ASoC: mediatek: mt8186-rt1019: Migrate to the common mtk_soundcard_startup
- Index(es):