]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soundwire: intel_ace2x: add fake frame to BRA read command
authorBard Liao <yung-chuan.liao@linux.intel.com>
Thu, 30 Oct 2025 07:02:53 +0000 (15:02 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 8 Dec 2025 07:07:26 +0000 (12:37 +0530)
commit8931f5bce4f159a0dd438c093255d88cb8e00516
tree01a561d6dcd4204b11aa507b662a41874d44d5f6
parent9468bc0e1b95b6c737a79ae8aaeb87c16caeb3af
soundwire: intel_ace2x: add fake frame to BRA read command

Intel DMA buffer size need to be a multiple of data block size.
Find the minimal fake data size and extra buffer size to meet the
requirement.

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/20251030070253.1216871-8-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel_ace2x.c