]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: davinci-mcasp: Add rule to constrain the minimum period size
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 5 Jan 2018 10:18:07 +0000 (12:18 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 5 Jan 2018 11:48:51 +0000 (11:48 +0000)
commit271a7772914d93170f9e679b02baebde69edc60e
tree1ee4f58e409c290fa2983ac3506575e85fe0b792
parentfc34a8d7a6e80eb2c2304f3fb1526e012599ae42
ASoC: davinci-mcasp: Add rule to constrain the minimum period size

The minimum period size (in frames) must be not lower than the FIFO size
of McASP and in general too small period size would easily result underrun
in applications as eDMA - the most common DMA servicing McASP have support
for limited number of periods.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c