summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2010-02-02 14:21:05 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-02-02 14:21:05 -0800
commitc0472409d14eebf797df962dd78fc31afbc4bd07 (patch)
treeb83ab9148375acd52e67693bd2fd010a8aab0760
parent7ec87a1926250d3c1f74193bf36417707e691e10 (diff)
parentd0996bb4cd6b6d0fa7c643a809f01e33adc2638d (diff)
downloadbionic-c0472409d14eebf797df962dd78fc31afbc4bd07.zip
bionic-c0472409d14eebf797df962dd78fc31afbc4bd07.tar.gz
bionic-c0472409d14eebf797df962dd78fc31afbc4bd07.tar.bz2
am d0996bb4: bionic: update processed kernel header tpa2018d1.h
Merge commit 'd0996bb4cd6b6d0fa7c643a809f01e33adc2638d' into eclair-plus-aosp * commit 'd0996bb4cd6b6d0fa7c643a809f01e33adc2638d': bionic: update processed kernel header tpa2018d1.h
-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)