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

Alexandre Mergnat amergnat at baylibre.com
Wed Apr 10 08:14:28 PDT 2024


Also done for mt8365-afe-pcm in my serie

Reviewed-by: Alexandre Mergnat <amergnat at 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



More information about the linux-arm-kernel mailing list