OSDN Git Service

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)
commitd43c17daf2771f703bd92a78b34c7b0f3dcc9576
tree1ee4f58e409c290fa2983ac3506575e85fe0b792
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
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