Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[cascardo/linux.git] / drivers / input / touchscreen / edt-ft5x06.c
index 2e4d909..3793fcc 100644 (file)
@@ -812,7 +812,7 @@ static int edt_ft5x06_ts_identify(struct i2c_client *client,
        /* if we find something consistent, stay with that assumption
         * at least M09 won't send 3 bytes here
         */
-       if (!(strnicmp(rdbuf + 1, "EP0", 3))) {
+       if (!(strncasecmp(rdbuf + 1, "EP0", 3))) {
                tsdata->version = M06;
 
                /* remove last '$' end marker */