[PATCH 04/14] ASoC: mediatek: mt8196: add common interface for mt8196 DAI driver

Krzysztof Kozlowski krzk at kernel.org
Fri Mar 7 07:22:50 PST 2025


On 07/03/2025 13:47, Darren.Ye wrote:
> From: Darren Ye <darren.ye at mediatek.com>
> 
> Implement sample rate conversion and set private data for mt8196.
> 
> Signed-off-by: Darren Ye <darren.ye at mediatek.com>
> ---
>  .../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 at mediatek.com>
> + */
> +
> +#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



More information about the linux-arm-kernel mailing list