OSDN Git Service

Input: alps - fix spelling of "positive"
authorBhaskar Chowdhury <unixbhaskar@gmail.com>
Tue, 23 Feb 2021 04:58:17 +0000 (20:58 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 23 Feb 2021 05:22:47 +0000 (21:22 -0800)
s/postive/positive/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20210222075439.32201-1-unixbhaskar@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c

index b067bfd..4a6b33b 100644 (file)
@@ -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 */