From 73c300b0f598a63d8557819614d62c0c7ea8d891 Mon Sep 17 00:00:00 2001 From: Vikas Jain Date: Fri, 27 Jul 2012 15:35:47 +0530 Subject: input: touch: atmel_mxt_ts: Add Ftrace logging. This change assists automating system wide touch driver performance. Bug 928954 Change-Id: Iea21dfea1c31748ce5835652cecc0856c4f4028d Signed-off-by: Vikas Jain Reviewed-on: http://git-master/r/118984 Reviewed-by: Sachin Nikam Reviewed-by: David Jung Reviewed-by: Automatic_Commit_Validation_User --- drivers/input/touchscreen/atmel_mxt_ts.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'drivers/input') diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index ad21ef9c0105..6721a1fd2456 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -3,7 +3,7 @@ * * Copyright (C) 2010 Samsung Electronics Co.Ltd * Copyright (C) 2011 Atmel Corporation - * Copyright (C) 2011 NVIDIA Corporation + * Copyright (C) 2011-2012 NVIDIA Corporation * Author: Joonyoung Shim * * This program is free software; you can redistribute it and/or modify it @@ -25,6 +25,8 @@ #if defined(CONFIG_HAS_EARLYSUSPEND) #include #endif +#define CREATE_TRACE_POINTS +#include /* Family ID */ #define MXT224_ID 0x80 @@ -716,6 +718,7 @@ static void mxt_input_touchevent(struct mxt_data *data, finger[id].area = area; finger[id].pressure = pressure; + trace_nvevent_irq_data_submit("mxt_input_touchevent"); mxt_input_report(data, id); } @@ -728,11 +731,15 @@ static irqreturn_t mxt_interrupt(int irq, void *dev_id) int touchid; u8 reportid; + trace_nvevent_irq_data_read_start_series("mxt_input_interrupt"); do { + trace_nvevent_irq_data_read_start_single("mxt_input_interrupt"); if (mxt_read_message(data, &message)) { dev_err(dev, "Failed to read message\n"); goto end; } + trace_nvevent_irq_data_read_finish_single( + "mxt_input_interrupt"); reportid = message.reportid; @@ -751,6 +758,7 @@ static irqreturn_t mxt_interrupt(int irq, void *dev_id) } else if (reportid != MXT_RPTID_NOMSG) mxt_dump_message(dev, &message); } while (reportid != MXT_RPTID_NOMSG); + trace_nvevent_irq_data_read_finish_series("mxt_input_interrupt"); end: return IRQ_HANDLED; -- cgit v1.2.3 From 09877ed519d522cefd5ad612b1e89848497d5428 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Tue, 24 Jul 2012 17:12:33 +0530 Subject: input: tegra: kbc: treat warnings as errors -add compilation flag to treat warning as error bug 949219 Change-Id: I3f7f557099b0473883e0b959b65eb8f17ed30978 Signed-off-by: Deepak Nibade Reviewed-on: http://git-master/r/118008 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sanjay Singh Rawat Reviewed-by: Bharat Nihalani --- drivers/input/keyboard/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/input') diff --git a/drivers/input/keyboard/Makefile b/drivers/input/keyboard/Makefile index 23b440a4c27c..aced870f4e9d 100644 --- a/drivers/input/keyboard/Makefile +++ b/drivers/input/keyboard/Makefile @@ -47,6 +47,7 @@ obj-$(CONFIG_KEYBOARD_STMPE) += stmpe-keypad.o obj-$(CONFIG_KEYBOARD_STOWAWAY) += stowaway.o obj-$(CONFIG_KEYBOARD_SUNKBD) += sunkbd.o obj-$(CONFIG_KEYBOARD_TC3589X) += tc3589x-keypad.o +CFLAGS_tegra-kbc.o = -Werror obj-$(CONFIG_KEYBOARD_TEGRA) += tegra-kbc.o obj-$(CONFIG_KEYBOARD_TNETV107X) += tnetv107x-keypad.o obj-$(CONFIG_KEYBOARD_TWL4030) += twl4030_keypad.o -- cgit v1.2.3