]> 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)
commite142947408fe72d8b0e46cdb2ca772349574df34
tree1ee4f58e409c290fa2983ac3506575e85fe0b792
parentf9e9d4ede33f20ad238fc11db0232eaede684940
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