2021-02-22 07:58:32

by Bhaskar Chowdhury

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


s/postive/positive/

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
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


2021-02-22 08:09:40

by Randy Dunlap

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

On 2/21/21 11:54 PM, Bhaskar Chowdhury wrote:
>
> s/postive/positive/
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

> ---
> 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

2021-02-22 09:15:16

by Pali Rohár

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

On Monday 22 February 2021 00:07:40 Randy Dunlap wrote:
> On 2/21/21 11:54 PM, Bhaskar Chowdhury wrote:
> >
> > s/postive/positive/
> >
> > Signed-off-by: Bhaskar Chowdhury <[email protected]>
>
> Acked-by: Randy Dunlap <[email protected]>

Reviewed-by: Pali Rohár <[email protected]>

> > ---
> > 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
>