diff options
| author | Troy Mitchell <troy.mitchell@linux.spacemit.com> | 2026-04-29 09:38:47 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-29 11:41:32 +0900 |
| commit | 6b4afbaaa342eaa52172e0be5ef8d1fcbf9ff460 (patch) | |
| tree | 9fa5eb2c0361d0dcf882fb1b8f76c95c0ad076c4 /include/linux/folio_queue.h | |
| parent | a201aef1a88b675e9eb8487e27d14e2eef3cef80 (diff) | |
ASoC: spacemit: move hw constraints from hw_params to startup
Hardware constraints should be applied in the startup callback rather
than hw_params, as hw_params may be called too late for the constraints
to take effect properly.
Move the channel count and format constraints for I2S and DSP_A/DSP_B
modes into a new startup callback. This also tightens the I2S mode
channel constraint from 1-2 to exactly 2, matching the actual hardware
behavior.
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Link: https://patch.msgid.link/20260429-k3-i2s-v1-2-2fe99db11ecb@linux.spacemit.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/folio_queue.h')
0 files changed, 0 insertions, 0 deletions
