aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorMihai Serban <[email protected]>2019-09-13 22:28:05 +0300
committerMark Brown <[email protected]>2019-09-17 16:56:19 +0100
commite75f4940e8ad0dd76527302a10c06b58bf7eb590 (patch)
tree4aa03850072854d477181319f253cee00e92c9f0 /lib/test_overflow.c
parentfca11622d600228bec405456f41590155b3a3eca (diff)
ASoC: fsl_sai: Fix noise when using EDMA
EDMA requires the period size to be multiple of maxburst. Otherwise the remaining bytes are not transferred and thus noise is produced. We can handle this issue by adding a constraint on SNDRV_PCM_HW_PARAM_PERIOD_SIZE to be multiple of tx/rx maxburst value. Signed-off-by: Mihai Serban <[email protected]> Signed-off-by: Daniel Baluta <[email protected]> Acked-by: Nicolin Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions