From 25d81de375ad1fa4d3af3da9c5edaf1bb0977736 Mon Sep 17 00:00:00 2001 From: dengwei1 Date: Fri, 7 Aug 2020 15:58:04 +0800 Subject: [PATCH] guamna: input touch himax runin debug input touch himax runin debug NO_PROP_NEEDED Change-Id: Ibf2f496b845b58f447e495ff45e7d18fee0a0437 Signed-off-by: dengwei1 Reviewed-on: https://gerrit.mot.com/1717090 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Wang Wang Submit-Approved: Jira Key --- .../input/touchscreen/himax_v3_mmi/himax_ic_incell_core.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/input/touchscreen/himax_v3_mmi/himax_ic_incell_core.c b/drivers/input/touchscreen/himax_v3_mmi/himax_ic_incell_core.c index 07b508b657b7..48b6dd5461b8 100755 --- a/drivers/input/touchscreen/himax_v3_mmi/himax_ic_incell_core.c +++ b/drivers/input/touchscreen/himax_v3_mmi/himax_ic_incell_core.c @@ -2004,6 +2004,14 @@ static bool himax_mcu_get_DSRAM_data(uint8_t *info_data, bool DSRAM_Flag) memcpy(info_data, &temp_info_data[4], mutual_data_size * sizeof(uint8_t)); /*I("%s checksum PASS\n", __func__);*/ } + + /* MPAP debug message ********************************************/ + for (i = total_size-16; i < total_size-1; i+=2) { + check_sum_cal = temp_info_data[i+1]<<8 | temp_info_data[i]; + I("mpdmsg %2X\n", check_sum_cal); + } + /*****************************************************************/ + kfree(temp_info_data); return true; FAIL: