Input: cyttsp - fix swapped 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. Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net> Acked-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
fbd5e77e65
commit
d3bf073aa7
1 changed files with 1 additions and 1 deletions
|
@ -67,8 +67,8 @@ struct cyttsp_xydata {
|
||||||
/* TTSP System Information interface definition */
|
/* TTSP System Information interface definition */
|
||||||
struct cyttsp_sysinfo_data {
|
struct cyttsp_sysinfo_data {
|
||||||
u8 hst_mode;
|
u8 hst_mode;
|
||||||
u8 mfg_cmd;
|
|
||||||
u8 mfg_stat;
|
u8 mfg_stat;
|
||||||
|
u8 mfg_cmd;
|
||||||
u8 cid[3];
|
u8 cid[3];
|
||||||
u8 tt_undef1;
|
u8 tt_undef1;
|
||||||
u8 uid[8];
|
u8 uid[8];
|
||||||
|
|
Loading…
Reference in a new issue