[ARM] tegra: tegra_i2s_audio: allow preloading of the tx fifo with data
authorIliyan Malchev <malchev@google.com>
Fri, 20 Aug 2010 22:11:48 +0000 (15:11 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:27:50 +0000 (16:27 -0700)
commita3a03951fd50e2ccbab415bf74234c00654e5c4b
treede84504ad0484e2ef59e84677729bedfb906e354
parenta69a4cbdc96e2b1ad2d617064c5d8709e5606bbb
[ARM] tegra: tegra_i2s_audio: allow preloading of the tx fifo with data

Add an ioctl to allow the TX fifo to be loaded with data before playback
starts.  Playback can then be started by calling write() on the FIFO, even
with a length of 0.  This will cause the pending data to be played out.

Signed-off-by: Iliyan Malchev <malchev@google.com>
arch/arm/mach-tegra/tegra_i2s_audio.c
include/linux/tegra_audio.h