diff options
author | Kai Vehmanen <[email protected]> | 2020-11-18 16:05:45 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-11-19 13:00:04 +0000 |
commit | caebea04b9125c677e6e747793fbc7fab077727b (patch) | |
tree | ebc7b8f65bbbc784df3aee16e3ad26e57a34c92d /lib/mpi/mpi-mod.c | |
parent | 9983ac49b7db34258facf47439463e96522e1d5a (diff) |
ASoC: SOF: Intel: add hw specific PCM constraints
Part of PCM constraints are set based on DSP topology, but rest
should be set based on hardware capabilities. Add PCM constraints
for Intel platforms:
- Add constraint for the period count to be integer. This avoids
wrap-arounds of the DMA circular buffer in middle of a period.
- Align period size to dword/32bit as per HDA spec.
Both constraints are aligned with current implementation in snd-hda-intel
driver.
Signed-off-by: Kai Vehmanen <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions