]> git.ipfire.org Git - thirdparty/linux.git/commit
soundwire: cadence_master: set data_per_frame as frame capability
authorBard Liao <yung-chuan.liao@linux.intel.com>
Tue, 14 Oct 2025 03:14:46 +0000 (11:14 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 8 Dec 2025 07:07:26 +0000 (12:37 +0530)
commit5a838e010c64b794ac990e9b19bfb0bf7083a1f2
treec2fcae451cdf8f325dbb02d64e40053ab702b941
parent43b2a39183c738095a5f0b3f00fd2e57e5a48149
soundwire: cadence_master: set data_per_frame as frame capability

data_per_frame will be used for preparing the TX buffer and we may add
some fake frames to ensure the data in the buffer will be flushed.
So that it should indicate the frame capability even if the required
data bytes are less than the frame capability.

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