Inter-revision diff: patch 2

Comparing v6 (message) to v1 (message)

--- v6
+++ v1
@@ -2,11 +2,11 @@
 
 Signed-off-by: H. Nikolaus Schaller <hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
 ---
- drivers/input/touchscreen/tsc2007.c | 17 +++++++++++++----
- 1 file changed, 13 insertions(+), 4 deletions(-)
+ drivers/input/touchscreen/tsc2007.c | 16 ++++++++++++----
+ 1 file changed, 12 insertions(+), 4 deletions(-)
 
 diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c
-index c1d9593..e9d5086 100644
+index e0c7173..1a8a79d 100644
 --- a/drivers/input/touchscreen/tsc2007.c
 +++ b/drivers/input/touchscreen/tsc2007.c
 @@ -94,6 +94,7 @@ struct tsc2007 {
@@ -17,20 +17,19 @@
  
  	int			(*get_pendown_state)(struct device *);
  	void			(*clear_penirq)(void);
-@@ -227,7 +228,11 @@ static irqreturn_t tsc2007_soft_irq(int irq, void *handle)
- 				sx, sy, rt);
- 
- 			/* report event */
+@@ -251,7 +252,10 @@ static irqreturn_t tsc2007_soft_irq(int irq, void *handle)
+ 			dev_dbg(&ts->client->dev,
+ 					"shaped point(%4d,%4d), pressure (%4u)\n",
+ 					tc.x, tc.y, rt);
 -			input_report_key(input, BTN_TOUCH, 1);
 +			if (!ts->pendown) {
 +				input_report_key(input, BTN_TOUCH, 1);
 +				ts->pendown = true;
 +			}
-+
- 			touchscreen_report_pos(ts->input, &ts->prop,
- 						(unsigned int) sx,
- 						(unsigned int) sy,
-@@ -250,9 +255,13 @@ static irqreturn_t tsc2007_soft_irq(int irq, void *handle)
+ 			input_report_abs(input, ABS_X, tc.x);
+ 			input_report_abs(input, ABS_Y, tc.y);
+ 			input_report_abs(input, ABS_PRESSURE, rt);
+@@ -272,9 +276,13 @@ static irqreturn_t tsc2007_soft_irq(int irq, void *handle)
  
  	dev_dbg(&ts->client->dev, "UP\n");
  
@@ -48,7 +47,7 @@
  	if (ts->clear_penirq)
  		ts->clear_penirq();
 -- 
-2.7.3
+2.5.1
 
 --
 To unsubscribe from this list: send the line "unsubscribe devicetree" in
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help