author | Misael Lopez Cruz <misael.lopez@ti.com> | |
Fri, 5 Jul 2013 22:10:38 +0000 (17:10 -0500) | ||
committer | Misael Lopez Cruz <misael.lopez@ti.com> | |
Mon, 22 Jul 2013 19:43:25 +0000 (14:43 -0500) | ||
commit | 99a1e07f426e010404b6bdadfbdb9286641a6602 | |
tree | 6794bbbb1882ab2e4945a209766b8f684fd925a4 | tree | snapshot (tar.xz tar.gz zip) |
parent | 29485e4cd6b4adac3816c5e1809f7998afe633e5 | commit | diff |
ASoC: davinci-mcasp: Wait until TX AFIFO is not empty
Wait until TX AFIFO has at least one audio sample before TXBUF starts
consuming data, otherwise XRUN can be hit immediately at the start of
the stream.
Change-Id: Ie94dcd16f7a00046eb043aec1ceee21ce6009fbc
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Wait until TX AFIFO has at least one audio sample before TXBUF starts
consuming data, otherwise XRUN can be hit immediately at the start of
the stream.
Change-Id: Ie94dcd16f7a00046eb043aec1ceee21ce6009fbc
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
sound/soc/davinci/davinci-mcasp.c | diff | blob | history |