OSDN Git Service

bionic: update processed kernel header tegra_audio.h
authorIliyan Malchev <malchev@google.com>
Tue, 5 Oct 2010 05:54:47 +0000 (22:54 -0700)
committerIliyan Malchev <malchev@google.com>
Tue, 5 Oct 2010 06:08:21 +0000 (23:08 -0700)
Change-Id: I23d03e0f651f26a1f6c170f982891dba2a2fe20d
Signed-off-by: Iliyan Malchev <malchev@google.com>
libc/kernel/common/linux/tegra_audio.h

index 302e139..70c77bc 100644 (file)
@@ -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;