Skip to content

Commit

Permalink
Input: cyttsp - fix swapped mfg_stat and mfg_cmd registers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthias Kaehlcke authored and Dmitry Torokhov committed Jun 6, 2013
1 parent fbd5e77 commit d3bf073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/cyttsp_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit d3bf073

Please sign in to comment.