10 Apr
2024
10 Apr
'24
5:14 p.m.
Also done for mt8365-afe-pcm in my serie
Reviewed-by: Alexandre Mergnat amergnat@baylibre.com
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