[PATCH] drivers: input: mouse: Change postive to positive in the file alps.c

Subsystems: alps ps/2 touchpad driver, input (keyboard, mouse, joystick, touchscreen) drivers, the rest

STALE1997d LANDED

Landed in mainline as 2896a27fdcd0 on 2021-02-23.

3 messages, 3 authors, 2021-02-22 · open the first message on its own page

[PATCH] drivers: input: mouse: Change postive to positive in the file alps.c

From: Bhaskar Chowdhury <hidden>
Date: 2021-02-22 07:57:21

s/postive/positive/

Signed-off-by: Bhaskar Chowdhury <redacted>
---
 drivers/input/mouse/alps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
index b067bfd2699c..4a6b33bbe7ea 100644
--- a/drivers/input/mouse/alps.c
+++ b/drivers/input/mouse/alps.c
@@ -986,7 +986,7 @@ static void alps_get_finger_coordinate_v7(struct input_mt_pos *mt,
 	case V7_PACKET_ID_TWO:
 		mt[1].x &= ~0x000F;
 		mt[1].y |= 0x000F;
-		/* Detect false-postive touches where x & y report max value */
+		/* Detect false-positive touches where x & y report max value */
 		if (mt[1].y == 0x7ff && mt[1].x == 0xff0) {
 			mt[1].x = 0;
 			/* y gets set to 0 at the end of this function */
--
2.26.2

Re: [PATCH] drivers: input: mouse: Change postive to positive in the file alps.c

From: Randy Dunlap <hidden>
Date: 2021-02-22 08:08:56

On 2/21/21 11:54 PM, Bhaskar Chowdhury wrote:
s/postive/positive/

Signed-off-by: Bhaskar Chowdhury <redacted>
Acked-by: Randy Dunlap <redacted>
quoted hunk
---
 drivers/input/mouse/alps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
index b067bfd2699c..4a6b33bbe7ea 100644
--- a/drivers/input/mouse/alps.c
+++ b/drivers/input/mouse/alps.c
@@ -986,7 +986,7 @@ static void alps_get_finger_coordinate_v7(struct input_mt_pos *mt,
 	case V7_PACKET_ID_TWO:
 		mt[1].x &= ~0x000F;
 		mt[1].y |= 0x000F;
-		/* Detect false-postive touches where x & y report max value */
+		/* Detect false-positive touches where x & y report max value */
 		if (mt[1].y == 0x7ff && mt[1].x == 0xff0) {
 			mt[1].x = 0;
 			/* y gets set to 0 at the end of this function */
--

-- 
~Randy

Re: [PATCH] drivers: input: mouse: Change postive to positive in the file alps.c

From: Pali Rohár <pali@kernel.org>
Date: 2021-02-22 09:13:34

On Monday 22 February 2021 00:07:40 Randy Dunlap wrote:
On 2/21/21 11:54 PM, Bhaskar Chowdhury wrote:
quoted
s/postive/positive/

Signed-off-by: Bhaskar Chowdhury <redacted>
Acked-by: Randy Dunlap <redacted>
Reviewed-by: Pali Rohár <pali@kernel.org>
quoted
---
 drivers/input/mouse/alps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
index b067bfd2699c..4a6b33bbe7ea 100644
--- a/drivers/input/mouse/alps.c
+++ b/drivers/input/mouse/alps.c
@@ -986,7 +986,7 @@ static void alps_get_finger_coordinate_v7(struct input_mt_pos *mt,
 	case V7_PACKET_ID_TWO:
 		mt[1].x &= ~0x000F;
 		mt[1].y |= 0x000F;
-		/* Detect false-postive touches where x & y report max value */
+		/* Detect false-positive touches where x & y report max value */
 		if (mt[1].y == 0x7ff && mt[1].x == 0xff0) {
 			mt[1].x = 0;
 			/* y gets set to 0 at the end of this function */
--

-- 
~Randy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help