summaryrefslogtreecommitdiff
path: root/original-kernel-headers/sound/msmcal-hwdep.h
diff options
context:
space:
mode:
authorPatrick Tjin <pattjin@google.com>2015-03-12 10:00:51 -0700
committerPatrick Tjin <pattjin@google.com>2015-03-12 10:00:51 -0700
commit4d667bae0175a66dffc4d241a449e706bdee0a85 (patch)
tree879f28c3629c9da10f2b23c10701d4a914cca744 /original-kernel-headers/sound/msmcal-hwdep.h
parentf5dc696274c01f254abddeb22c92b15a46401ad3 (diff)
downloadmsm8994-4d667bae0175a66dffc4d241a449e706bdee0a85.tar.gz
msm8994: update kernel headers
LA.BF64.1.2.1_rb1.10 Change-Id: Ifaeab686491175eb57ba0a2ae94c49c4397e2997 Signed-off-by: Patrick Tjin <pattjin@google.com>
Diffstat (limited to 'original-kernel-headers/sound/msmcal-hwdep.h')
-rw-r--r--original-kernel-headers/sound/msmcal-hwdep.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/original-kernel-headers/sound/msmcal-hwdep.h b/original-kernel-headers/sound/msmcal-hwdep.h
new file mode 100644
index 0000000..324b497
--- /dev/null
+++ b/original-kernel-headers/sound/msmcal-hwdep.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2014, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+#ifndef _CALIB_HWDEP_H
+#define _CALIB_HWDEP_H
+
+#define WCD9XXX_CODEC_HWDEP_NODE 1000
+enum wcd_cal_type {
+ WCD9XXX_MIN_CAL,
+ WCD9XXX_ANC_CAL = WCD9XXX_MIN_CAL,
+ WCD9XXX_MAD_CAL,
+ WCD9XXX_MBHC_CAL,
+ WCD9XXX_MAX_CAL,
+};
+
+struct wcdcal_ioctl_buffer {
+ __u32 size;
+ __u8 __user *buffer;
+ enum wcd_cal_type cal_type;
+};
+
+#define SNDRV_CTL_IOCTL_HWDEP_CAL_TYPE \
+ _IOW('U', 0x1, struct wcdcal_ioctl_buffer)
+
+#endif /*_CALIB_HWDEP_H*/