diff options
author | Joy Zou <joy.zou@nxp.com> | 2024-01-31 17:33:18 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-02-07 09:34:59 +0100 |
commit | 9ba17defd9edd87970b701085402bc8ecc3a11d4 (patch) | |
tree | cd5fcbbc782f0edc30d08ffb23aa5db0bd84cf51 /mm/memfd.c | |
parent | dmaengine: fsl-qdma: init irq after reg initialization (diff) | |
download | linux-9ba17defd9edd87970b701085402bc8ecc3a11d4.tar.xz linux-9ba17defd9edd87970b701085402bc8ecc3a11d4.zip |
dmaengine: fsl-edma: correct calculation of 'nbytes' in multi-fifo scenario
The 'nbytes' should be equivalent to burst * width in audio multi-fifo
setups. Given that the FIFO width is fixed at 32 bits, adjusts the burst
size for multi-fifo configurations to match the slave maxburst in the
configuration.
Cc: stable@vger.kernel.org
Fixes: 72f5801a4e2b ("dmaengine: fsl-edma: integrate v3 support")
Signed-off-by: Joy Zou <joy.zou@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240131163318.360315-1-Frank.Li@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'mm/memfd.c')
0 files changed, 0 insertions, 0 deletions