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>
This commit is contained in:
parent
fc8104bc5a
commit
437d4f3797
1 changed files with 5 additions and 3 deletions
|
@ -1422,10 +1422,12 @@ static int mxt_get_object_table(struct mxt_data *data)
|
||||||
|
|
||||||
switch (object->type) {
|
switch (object->type) {
|
||||||
case MXT_GEN_MESSAGE_T5:
|
case MXT_GEN_MESSAGE_T5:
|
||||||
if (data->info.family_id == 0x80) {
|
if (data->info.family_id == 0x80 &&
|
||||||
|
data->info.version < 0x20) {
|
||||||
/*
|
/*
|
||||||
* On mXT224 read and discard unused CRC byte
|
* On mXT224 firmware versions prior to V2.0
|
||||||
* otherwise DMA reads are misaligned
|
* read and discard unused CRC byte otherwise
|
||||||
|
* DMA reads are misaligned.
|
||||||
*/
|
*/
|
||||||
data->T5_msg_size = mxt_obj_size(object);
|
data->T5_msg_size = mxt_obj_size(object);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue