summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2010-02-02 13:42:55 -0800
committerIliyan Malchev <malchev@google.com>2010-02-02 13:42:55 -0800
commitd0996bb4cd6b6d0fa7c643a809f01e33adc2638d (patch)
tree219cb37e8d16a41294cdd805862bc418794ccd40
parent276313ec18c18a07e867dffe568a377583cfd905 (diff)
downloadbionic-android-2.1_r2.1p2.zip
bionic-android-2.1_r2.1p2.tar.gz
bionic-android-2.1_r2.1p2.tar.bz2
bionic: update processed kernel header tpa2018d1.handroid-2.1_r2.1p2android-2.1_r2.1p
Signed-off-by: Iliyan Malchev <malchev@google.com>
-rw-r--r--libc/kernel/common/linux/tpa2018d1.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/tpa2018d1.h b/libc/kernel/common/linux/tpa2018d1.h
index fe06b68..4ae31fc 100644
--- a/libc/kernel/common/linux/tpa2018d1.h
+++ b/libc/kernel/common/linux/tpa2018d1.h
@@ -14,6 +14,14 @@
#include <linux/ioctl.h>
+enum tpa2018d1_mode {
+ TPA2018_MODE_OFF,
+ TPA2018_MODE_PLAYBACK,
+ TPA2018_MODE_RINGTONE,
+ TPA2018_MODE_VOICE_CALL,
+ TPA2018_NUM_MODES,
+};
+
#define TPA2018_IOCTL_MAGIC 'a'
#define TPA2018_SET_CONFIG _IOW(TPA2018_IOCTL_MAGIC, 1, unsigned)
#define TPA2018_READ_CONFIG _IOR(TPA2018_IOCTL_MAGIC, 2, unsigned)