void lcd_esd_seq( struct sec_esd_info *pSrc ) { struct sec_esd_info *pESD; if( pSrc ) pESD = pSrc; else pESD = p_sec_esd_info; DPRINT("%s : %d\n", __func__, (pESD?pESD->esd_cnt:-1) ); lcd_LP11_signal(); use_vsyncLPmode = TRUE; TSP_ESD_seq(); msleep(1000); lcd_LP11_signal(); use_vsyncLPmode = TRUE; TSP_ESD_seq(); msleep(2000); lcd_LP11_signal(); use_vsyncLPmode = TRUE; TSP_ESD_seq(); use_vsyncLPmode = TRUE; // in this code, LCD must be hit by ESD }
static void lcd_esd_seq(struct esd_data_t *p_esd_data) { lcd_LP11_signal(); msleep(500); lcd_LP11_signal(); msleep(2000); lcd_LP11_signal(); }