diff options
author | Nick Dyer <nick.dyer@itdev.co.uk> | 2014-08-07 12:56:01 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-08-08 02:36:32 -0400 |
commit | 437d4f3797041942947ec838cf5d65f770562c5d (patch) | |
tree | 408f2ce146fbddb4a2ed9626a17a177d57a42107 /drivers/input/touchscreen/atmel_mxt_ts.c | |
parent | fc8104bc5a3f6f49d79f45f2706f79f77a9fb2ae (diff) |
Input: atmel_mxt_ts - mXT224 DMA quirk was fixed in firmware v2.0.AA
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/atmel_mxt_ts.c')
-rw-r--r-- | drivers/input/touchscreen/atmel_mxt_ts.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 03b85711cb70..d50c6147bb76 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c | |||
@@ -1422,10 +1422,12 @@ static int mxt_get_object_table(struct mxt_data *data) | |||
1422 | 1422 | ||
1423 | switch (object->type) { | 1423 | switch (object->type) { |
1424 | case MXT_GEN_MESSAGE_T5: | 1424 | case MXT_GEN_MESSAGE_T5: |
1425 | if (data->info.family_id == 0x80) { | 1425 | if (data->info.family_id == 0x80 && |
1426 | data->info.version < 0x20) { | ||
1426 | /* | 1427 | /* |
1427 | * On mXT224 read and discard unused CRC byte | 1428 | * On mXT224 firmware versions prior to V2.0 |
1428 | * otherwise DMA reads are misaligned | 1429 | * read and discard unused CRC byte otherwise |
1430 | * DMA reads are misaligned. | ||
1429 | */ | 1431 | */ |
1430 | data->T5_msg_size = mxt_obj_size(object); | 1432 | data->T5_msg_size = mxt_obj_size(object); |
1431 | } else { | 1433 | } else { |