[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7b967651-1368-42f1-af23-adc3c94c88ca@kernel.org>
Date: Fri, 7 Mar 2025 16:21:59 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: "Darren.Ye" <darren.ye@...iatek.com>, Liam Girdwood
<lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Matthias Brugger
<matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Linus Walleij <linus.walleij@...aro.org>, Bartosz Golaszewski <brgl@...ev.pl>
Cc: linux-sound@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-gpio@...r.kernel.org
Subject: Re: [PATCH 02/14] ASoC: mediatek: common: modify mtk afe platform
driver for mt8196
On 07/03/2025 13:47, Darren.Ye wrote:
> From: Darren Ye <darren.ye@...iatek.com>
>
> Mofify the pcm pointer interface to support 64-bit address access.
>
> Signed-off-by: Darren Ye <darren.ye@...iatek.com>
> ---
> .../mediatek/common/mtk-afe-platform-driver.c | 63 ++++++++++++++-----
> .../mediatek/common/mtk-afe-platform-driver.h | 5 ++
> 2 files changed, 52 insertions(+), 16 deletions(-)
>
> diff --git a/sound/soc/mediatek/common/mtk-afe-platform-driver.c b/sound/soc/mediatek/common/mtk-afe-platform-driver.c
> index 6b6330583941..5d8f4421e665 100644
> --- a/sound/soc/mediatek/common/mtk-afe-platform-driver.c
> +++ b/sound/soc/mediatek/common/mtk-afe-platform-driver.c
> @@ -77,6 +77,16 @@ int mtk_afe_add_sub_dai_control(struct snd_soc_component *component)
> }
> EXPORT_SYMBOL_GPL(mtk_afe_add_sub_dai_control);
>
> +int mtk_afe_pcm_open(struct snd_soc_component *component,
How adding this is related with 64-bit addresses? It's not even used here.
> + struct snd_pcm_substream *substream)
> +{
> + /* set the wait_for_avail to 2 sec*/
> + substream->wait_time = msecs_to_jiffies(2 * 1000);
> +
> + return 0;
> +}
> +EXPORT_SYMBOL_GPL(mtk_afe_pcm_open);
Best regards,
Krzysztof
Powered by blists - more mailing lists