cyttsp: Fix swap of mfg_stat and mfg_cmd registers
Subsystems (3)
PATCH 1/1 cyttsp: Fix swap of mfg_stat and mfg_cmd registers
The command and status register in the driver were swapped with respect to the order specified in the datasheet (CY8CTMA140). Confirmed with Cypress that the order in the datasheet is correct.
--- drivers/input/touchscreen/cyttsp_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/touchscreen/cyttsp_core.h +1 -1
@@ -67,8 +67,8 @@ struct cyttsp_xydata {/* TTSP System Information interface definition */ struct cyttsp_sysinfo_data {u8 hst_mode; -u8 mfg_cmd;u8 mfg_stat; +u8 mfg_cmd;u8 cid[3 ];u8 tt_undef1;u8 uid[8 ];
Signature · 1 line
1.7.10.4
Quoted 6 lines · Matthias Kaehlcke
The command and status register in the driver were swapped with respect to the order specified in the datasheet (CY8CTMA140). Confirmed with Cypress that the order in the datasheet is correct.
Signed-off-by Matthias Kaehlcke <[email protected]>---
Ferruh Yigit
Acked-byQuoted 10 lines · Javier Martinez Canillas
Quoted 6 lines · Matthias Kaehlcke
The command and status register in the driver were swapped with respect to the order specified in the datasheet (CY8CTMA140). Confirmed with Cypress that the order in the datasheet is correct.
Signed-off-by Matthias Kaehlcke <[email protected]>---
This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message.