/* This function is used to get touch sensor's irq status.  */
int tls_touchsensor_irq_status_get(u32 sensorno)
/* This function is used to get touch sensor's irq status.  */
int tls_touchsensor_irq_status_get(u32 sensorno)
{
	u32 value = 0;
	if (sensorno && (sensorno <= 15))
	{
		value = tls_reg_read32(HR_TC_INT_EN);
		return (value&(1<<(sensorno-1)))?1:0;
	}
	return -1;
}