Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb168ca1 authored by Changki Kim's avatar Changki Kim
Browse files

Revert "ANDROID: vendor_hooks: Add vendor hooks for key combination"



This reverts commit 72f2bc5f.

You can use input_handle_event instead of this vendor hook.

Change-Id: I8c6c5705f07181710c99a01239d75ecf43f9c5bf
Signed-off-by: default avatarChangki Kim <changki.kim@samsung.com>
parent a52bcdb8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -55,4 +55,3 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_alter_rwsem_list_add);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_alter_futex_plist_add);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_is_fpsimd_save);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_ipi_stop);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_input_handle_event);
+0 −5
Original line number Diff line number Diff line
@@ -26,10 +26,6 @@
#include "input-compat.h"
#include "input-poller.h"

#ifndef __GENKSYMS__
#include <trace/hooks/debug.h>
#endif

MODULE_AUTHOR("Vojtech Pavlik <vojtech@suse.cz>");
MODULE_DESCRIPTION("Input core");
MODULE_LICENSE("GPL");
@@ -442,7 +438,6 @@ void input_event(struct input_dev *dev,
	if (is_event_supported(type, dev->evbit, EV_MAX)) {

		spin_lock_irqsave(&dev->event_lock, flags);
		trace_android_vh_input_handle_event(dev, type, code, value);
		input_handle_event(dev, type, code, value);
		spin_unlock_irqrestore(&dev->event_lock, flags);
	}
+0 −8
Original line number Diff line number Diff line
@@ -11,20 +11,12 @@
#include <trace/hooks/vendor_hooks.h>

#if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_ANDROID_VENDOR_HOOKS)

struct pt_regs;
DECLARE_HOOK(android_vh_ipi_stop,
	TP_PROTO(struct pt_regs *regs),
	TP_ARGS(regs))

struct input_dev;
DECLARE_HOOK(android_vh_input_handle_event,
	TP_PROTO(struct input_dev *dev, unsigned int type,
		unsigned int code, int value),
	TP_ARGS(dev, type, code, value))
#else
#define trace_android_vh_ipi_stop(regs)
#define trace_android_vh_input_handle_event(dev, type, code, value)
#endif

#endif /* _TRACE_HOOK_DEBUG_H */