summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2010-10-04 22:54:47 -0700
committerIliyan Malchev <malchev@google.com>2010-10-04 23:08:21 -0700
commitfff0c58e9aea925069bb6a8bb0ed363b616b402d (patch)
tree9cf8b3b7b3c9b74bf0ff9aa5c1e667f461a844d0
parentabdb3695b21631ace52123fbe68f86fa4476a4b0 (diff)
downloadbionic-fff0c58e9aea925069bb6a8bb0ed363b616b402d.zip
bionic-fff0c58e9aea925069bb6a8bb0ed363b616b402d.tar.gz
bionic-fff0c58e9aea925069bb6a8bb0ed363b616b402d.tar.bz2
bionic: update processed kernel header tegra_audio.h
Change-Id: I23d03e0f651f26a1f6c170f982891dba2a2fe20d Signed-off-by: Iliyan Malchev <malchev@google.com>
-rw-r--r--libc/kernel/common/linux/tegra_audio.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libc/kernel/common/linux/tegra_audio.h b/libc/kernel/common/linux/tegra_audio.h
index 302e139..70c77bc 100644
--- a/libc/kernel/common/linux/tegra_audio.h
+++ b/libc/kernel/common/linux/tegra_audio.h
@@ -39,9 +39,14 @@ struct tegra_audio_buf_config {
#define TEGRA_AUDIO_OUT_SET_BUF_CONFIG _IOW(TEGRA_AUDIO_MAGIC, 6, const struct tegra_audio_buf_config *)
#define TEGRA_AUDIO_OUT_GET_BUF_CONFIG _IOR(TEGRA_AUDIO_MAGIC, 7, struct tegra_audio_buf_config *)
-#define TEGRA_AUDIO_IN_GET_ERROR_COUNT _IOR(TEGRA_AUDIO_MAGIC, 8, unsigned *)
+struct tegra_audio_error_counts {
+ unsigned late_dma;
+ unsigned full_empty;
+};
+
+#define TEGRA_AUDIO_IN_GET_ERROR_COUNT _IOR(TEGRA_AUDIO_MAGIC, 8, struct tegra_audio_error_counts *)
-#define TEGRA_AUDIO_OUT_GET_ERROR_COUNT _IOR(TEGRA_AUDIO_MAGIC, 9, unsigned *)
+#define TEGRA_AUDIO_OUT_GET_ERROR_COUNT _IOR(TEGRA_AUDIO_MAGIC, 9, struct tegra_audio_error_counts *)
struct tegra_audio_out_preload {
void *data;