[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)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:47:02 +0000 (00:47 -0700)
commitd7cb617e7c981a40d1b95d31a2c770abfb6a2c7e
tree6db875d77350e6ae2725554e992a73c42a88f495
parentd4bd4a1d389a180112e1a4b1835b431145b320ef
[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>

Rebase-Id: Rfcaac1f7a4532ef84c8f5f08db060c256b1d58ac
include/linux/tegra_audio.h