udelay(ts->penirq_recheck_delay_usecs);
if (!get_pendown_state(ts))
{
- printk("***>%s:get_pendown_state(ts)==0,discard false reading\n",__FUNCTION__);
+ xpt2046printk("***>%s:get_pendown_state(ts)==0,discard false reading\n",__FUNCTION__);
Rt = 0;
}
}
if (!ts->pendown) {
input_report_key(input, BTN_TOUCH, 1);
ts->pendown = 1;
- printk("***>%s:input_report_key(pen down)\n",__FUNCTION__);
+ xpt2046printk("***>%s:input_report_key(pen down)\n",__FUNCTION__);
}
x = AD_TO_X(x);
ts->pendown = 0;
- printk("***>%s:input_report_key(The touchscreen up)\n",__FUNCTION__);
+ xpt2046printk("***>%s:input_report_key(The touchscreen up)\n",__FUNCTION__);
}
/* measurement cycle ended */
if (!device_suspended(&ts->spi->dev)) {
- printk("***>%s:device_suspended==0\n",__FUNCTION__);
+ xpt2046printk("***>%s:device_suspended==0\n",__FUNCTION__);
ts->irq_disabled = 0;
enable_irq(ts->spi->irq);
}