diff options
| author | Troy Mitchell <troy.mitchell@linux.spacemit.com> | 2026-04-29 17:00:50 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-05-04 22:02:50 +0900 |
| commit | ec0611868f2fcf29e4c2bebdc6702d3e1f272fec (patch) | |
| tree | ea325a6760dfc0aad3abd40ce2d7377fb2aee2da /scripts/stackusage | |
| parent | e366ce8b22ec68189ffea2bb8009f7b20d549b0f (diff) | |
ASoC: spacemit: fix RX DMA params not set when TX is running
When TX is already running (SSCR_SSE is set), the hw_params callback
returns early before setting up DMA parameters for the RX stream. This
prevents the capture path from configuring its DMA data properly.
Move the SSCR_SSE check after DMA parameter setup and format
constraints, so both TX and RX streams get their DMA configuration
regardless of whether the hardware is already enabled. The early return
now only skips the register writes that would disrupt an active stream.
Fixes: fce217449075 ("ASoC: spacemit: add i2s support for K1 SoC")
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Link: https://patch.msgid.link/20260429-k1-i2s-fix-v2-1-8d67835aaddc@linux.spacemit.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
