diff mbox

cyttsp: Fix swap of mfg_stat and mfg_cmd registers

Message ID 20130604211930.GF3618@raspi (mailing list archive)
State New, archived
Headers show

Commit Message

Matthias Kaehlcke June 4, 2013, 9:19 p.m. UTC
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>
---
 drivers/input/touchscreen/cyttsp_core.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Javier Martinez Canillas June 5, 2013, 9:21 a.m. UTC | #1
On Tue, Jun 4, 2013 at 11:19 PM, Matthias Kaehlcke
<matthias.list@kaehlcke.net> wrote:
> 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>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Ferruh Yigit June 10, 2013, 11:02 a.m. UTC | #2
On 06/05/2013 12:21 PM, Javier Martinez Canillas wrote:
> On Tue, Jun 4, 2013 at 11:19 PM, Matthias Kaehlcke
> <matthias.list@kaehlcke.net> wrote:
>> 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>

Acked-by: Ferruh Yigit <fery@cypress.com>


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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];