Re: [PATCH v4 12/18] ASoC: mediatek: Use common mtk_afe_pcm_platform with common probe cb

From: Alexandre Mergnat
Date: Wed Apr 10 2024 - 11:15:07 EST


Also done for mt8365-afe-pcm in my serie

Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>

On 09/04/2024 13:33, AngeloGioacchino Del Regno wrote:
Since the mtk-afe-platform-driver generic mtk_afe_pcm_platform now has
a common .probe() callback, there is no reason to keep duplicating this
function over and over in the SoC specific AFE-PCM drivers: switch over
to register with the common bits instead.

Note that MT8186 was left out of this because it is registering some
extra sinegen controls in the AFE-PCM probe callback and needs extra
cleanups to be able to use the common bits.

--
Regards,
Alexandre