Input: cyttsp - fix swapped mfg_stat and mfg_cmd registers
authorMatthias Kaehlcke <matthias.list@kaehlcke.net>
Thu, 6 Jun 2013 05:42:51 +0000 (22:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 6 Jun 2013 05:46:37 +0000 (22:46 -0700)
commitd3bf073aa7d50f06f81b4065a39fd6dc046f8bb2
tree8336c078ebd1ad4bc03dd3c33ee95945fd8679da
parentfbd5e77e65c36d84dbcd71a19c4d1526f4604bdb
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>
drivers/input/touchscreen/cyttsp_core.h