ASoC: intel: atom: Add period size constraint
authorBrent Lu <brent.lu@intel.com>
Fri, 31 Jul 2020 12:26:04 +0000 (20:26 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 21 Aug 2020 14:04:28 +0000 (15:04 +0100)
commit5e7820e369248f880767c4c4079b414529bc2125
treefcb46e3449bdde15a9333b3e060c95c420483f64
parent5610921a4435ef45c33702073e64f835f3dca7f1
ASoC: intel: atom: Add period size constraint

Use constraint to make sure the period size could always be multiple
of 1ms to align with the fundamental design/limitation of firmware.

Signed-off-by: Brent Lu <brent.lu@intel.com>
Link: https://lore.kernel.org/r/1596198365-10105-2-git-send-email-brent.lu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst-mfld-platform-pcm.c