Skip to contentSkip to conversation

cyttsp: Fix swap of mfg_stat and mfg_cmd registers

PATCH In review Matthias Kaehlcke 3 participants 3 messages Jun 4, 2013 – Jun 10, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
index 1aa3c69..f1ebde3 100644
@@ -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
Acked-by
#2 lore raw
Quoted 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.

---

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.