Re: [PATCH 02/14] ASoC: mediatek: common: modify mtk afe platform driver for mt8196

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/03/2025 13:47, Darren.Ye wrote:
> From: Darren Ye <darren.ye@xxxxxxxxxxxx>
> 
> Mofify the pcm pointer interface to support 64-bit address access.
> 
> Signed-off-by: Darren Ye <darren.ye@xxxxxxxxxxxx>
> ---
>  .../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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux