]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soundwire: cadence_master: add fake_size parameter to sdw_cdns_prepare_read_dma_buffer
authorBard Liao <yung-chuan.liao@linux.intel.com>
Tue, 14 Oct 2025 03:14:49 +0000 (11:14 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 8 Dec 2025 07:07:26 +0000 (12:37 +0530)
commit9468bc0e1b95b6c737a79ae8aaeb87c16caeb3af
treeb27201a75198c29670c8f566a9090521324ad9f2
parent167efc6dfd621494c6a7e47115dc829dcc0e502c
soundwire: cadence_master: add fake_size parameter to sdw_cdns_prepare_read_dma_buffer

We may need to add few fake frames to fit the aligned read dma buffer
size. Add a fake_size parameter to allow the caller to set the fake data
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-7-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/cadence_master.c
drivers/soundwire/cadence_master.h
drivers/soundwire/intel_ace2x.c