Re: [PATCH 04/14] ASoC: mediatek: mt8196: add common interface for mt8196 DAI driver
From: Krzysztof Kozlowski
Date: Fri Mar 07 2025 - 10:27:12 EST
On 07/03/2025 13:47, Darren.Ye wrote:
> From: Darren Ye <darren.ye@xxxxxxxxxxxx>
>
> Implement sample rate conversion and set private data for mt8196.
>
> Signed-off-by: Darren Ye <darren.ye@xxxxxxxxxxxx>
> ---
> .../soc/mediatek/mt8196/mt8196-afe-control.c | 109 ++++++++++++++++++
> 1 file changed, 109 insertions(+)
> create mode 100644 sound/soc/mediatek/mt8196/mt8196-afe-control.c
>
> diff --git a/sound/soc/mediatek/mt8196/mt8196-afe-control.c b/sound/soc/mediatek/mt8196/mt8196-afe-control.c
> new file mode 100644
> index 000000000000..bb85f4ad8585
> --- /dev/null
> +++ b/sound/soc/mediatek/mt8196/mt8196-afe-control.c
> @@ -0,0 +1,109 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * MediaTek ALSA SoC Audio Control
> + *
> + * Copyright (c) 2024 MediaTek Inc.
> + * Author: Darren Ye <darren.ye@xxxxxxxxxxxx>
> + */
> +
> +#include "mt8196-afe-common.h"
> +#include <linux/pm_runtime.h>
> +
> +unsigned int mt8196_general_rate_transform(struct device *dev,
> + unsigned int rate)
These are not static, so you miss header for all of these changes.
Best regards,
Krzysztof