diff options
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/edt-ft5x06.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c index 8857d5b9be71..ee3434f1e949 100644 --- a/drivers/input/touchscreen/edt-ft5x06.c +++ b/drivers/input/touchscreen/edt-ft5x06.c | |||
@@ -812,7 +812,7 @@ static int edt_ft5x06_ts_identify(struct i2c_client *client, | |||
812 | /* if we find something consistent, stay with that assumption | 812 | /* if we find something consistent, stay with that assumption |
813 | * at least M09 won't send 3 bytes here | 813 | * at least M09 won't send 3 bytes here |
814 | */ | 814 | */ |
815 | if (!(strnicmp(rdbuf + 1, "EP0", 3))) { | 815 | if (!(strncasecmp(rdbuf + 1, "EP0", 3))) { |
816 | tsdata->version = M06; | 816 | tsdata->version = M06; |
817 | 817 | ||
818 | /* remove last '$' end marker */ | 818 | /* remove last '$' end marker */ |