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

2021-02-22 Thread Pali Rohár
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 
> 
> Acked-by: Randy Dunlap 

Reviewed-by: Pali Rohár 

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

2021-02-22 Thread Randy Dunlap
On 2/21/21 11:54 PM, Bhaskar Chowdhury wrote:
> 
> s/postive/positive/
> 
> Signed-off-by: Bhaskar Chowdhury 

Acked-by: Randy Dunlap 

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



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

2021-02-21 Thread Bhaskar Chowdhury


s/postive/positive/

Signed-off-by: Bhaskar Chowdhury 
---
 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