]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SOF: Intel: export hda_sdw_bpt_get_buf_size_aligment
authorBard Liao <yung-chuan.liao@linux.intel.com>
Tue, 14 Oct 2025 03:14:48 +0000 (11:14 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 8 Dec 2025 07:07:26 +0000 (12:37 +0530)
commit167efc6dfd621494c6a7e47115dc829dcc0e502c
tree50fccbc9c416b5e04c138860424cdf9162694cf8
parent57b3a7b27e0b72df4ccee89719de12719aa9d547
ASoC: SOF: Intel: export hda_sdw_bpt_get_buf_size_aligment

The dma buffer need to be a multiple of data block size and
the fifo size. Export a function to return the LCM of data
block size and the fifo size.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20251014031450.3781789-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/sound/hda-sdw-bpt.h
sound/soc/sof/intel/hda-sdw-bpt.c