summaryrefslogtreecommitdiff
path: root/include/linux/avtimer_kernel.h
diff options
context:
space:
mode:
authorSudheer Papothi <spapothi@codeaurora.org>2016-03-02 01:22:11 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:11:12 -0700
commit2df0d98256faa3d6a95d85b3009e5f98f911c543 (patch)
tree2e3e2d16bd873589d4d91bb0e557d1888c7e0457 /include/linux/avtimer_kernel.h
parent83731f8574fb29189ff383dd8df6bb29e9f6245d (diff)
ASoC: Add AV timer changes for MSM targets
Add snapshot of avtimer changes for MSM targets. The code is migrated from msm-3.18 kernel. Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Diffstat (limited to 'include/linux/avtimer_kernel.h')
-rw-r--r--include/linux/avtimer_kernel.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/avtimer_kernel.h b/include/linux/avtimer_kernel.h
new file mode 100644
index 000000000000..e5a12559f1ba
--- /dev/null
+++ b/include/linux/avtimer_kernel.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2015, 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 _AVTIMER_H
+#define _AVTIMER_H
+
+#include <uapi/linux/avtimer.h>
+
+int avcs_core_open(void);
+int avcs_core_disable_power_collapse(int disable);/* true or flase */
+int avcs_core_query_timer(uint64_t *avtimer_tick);
+
+#endif