[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fa2758bc-7149-43db-8dd9-610d97d86137@sirena.org.uk>
Date: Thu, 30 Oct 2025 11:16:57 +0000
From: Mark Brown <broonie@...nel.org>
To: Bard Liao <yung-chuan.liao@...ux.intel.com>
Cc: linux-sound@...r.kernel.org, vkoul@...nel.org, tiwai@...e.de,
	vinod.koul@...aro.org, linux-kernel@...r.kernel.org,
	pierre-louis.bossart@...ux.dev, bard.liao@...el.com
Subject: Re: [PATCH RESEND 5/7] ASoC: SOF: Intel: export
 hda_sdw_bpt_get_buf_size_aligment
On Thu, Oct 30, 2025 at 03:02:51PM +0800, Bard Liao wrote:
> +unsigned int hda_sdw_bpt_get_buf_size_alignment(unsigned int dma_bandwidth)
> +{
> +	unsigned int num_channels = DIV_ROUND_UP(dma_bandwidth, BPT_FREQUENCY * 32);
> +	unsigned int data_block = num_channels * 4;
> +	unsigned int alignment = lcm(data_block, FIFO_ALIGNMENT);
> +
> +	return alignment;
> +}
> +EXPORT_SYMBOL_NS(hda_sdw_bpt_get_buf_size_alignment, "SND_SOC_SOF_INTEL_HDA_SDW_BPT");
The rest of ASoC is _GPL?
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists
 
