summaryrefslogtreecommitdiff
path: root/kernel/auditfilter.c
diff options
context:
space:
mode:
authorArnaud Mouiche <arnaud.mouiche@invoxia.com>2016-05-03 12:13:58 (GMT)
committerMark Brown <broonie@kernel.org>2016-05-13 11:15:31 (GMT)
commitd9f2a202877c15818d98268f47d6b4bcfcb84437 (patch)
tree19910d1343b8c3f56e89fd2a5b72d3ca48cac430 /kernel/auditfilter.c
parent0096b693962d3abde4f41b13cf03c765f33e9d8d (diff)
downloadlinux-d9f2a202877c15818d98268f47d6b4bcfcb84437.tar.xz
ASoC: fsl_ssi: Fix samples being dropped at Playback startup
If the capture is already running while playback is started, it is highly probable (>80% in a 8 channels scenario) that samples are lost between the DMA and TX fifo. The reason is that SIER.TDMAE is set before STCR.TFEN0, leaving a time window where the FIFO doesn't receive the samples written by the DMA. This particular case happened only if capture is already enabled as SCR.SSIEN is already set at the playback startup instant. Signed-off-by: Arnaud Mouiche <arnaud.mouiche@invoxia.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Caleb Crome <caleb@crome.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/auditfilter.c')
0 files changed, 0 insertions, 0 deletions