From: Matthias Kaehlcke Date: Thu, 6 Jun 2013 05:42:51 +0000 (-0700) Subject: Input: cyttsp - fix swapped mfg_stat and mfg_cmd registers X-Git-Tag: v3.11-rc1~4^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3bf073aa7d50f06f81b4065a39fd6dc046f8bb2;p=platform%2Fkernel%2Flinux-exynos.git 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 Acked-by: Javier Martinez Canillas Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/cyttsp_core.h b/drivers/input/touchscreen/cyttsp_core.h index 1aa3c69..f1ebde3 100644 --- a/drivers/input/touchscreen/cyttsp_core.h +++ b/drivers/input/touchscreen/cyttsp_core.h @@ -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];