Tool/software: Linux
Hello:
Our products are using 8 wires touch screen and 5 wires touch screen with am3352 in linux 3.2.0 which is from sdk 0.6.0.0 ,we meet the problem that there is always double click in the field.
but our customer do not double click.
We use the default driver in the kernel ti_tsadc.c and ti_tsc.c just change a little as following.
Since the linux kernel changed a lot ,can anyone tell me is the double click problem beacause of driver problem?
ctrl = TSCADC_CNTRLREG_STEPCONFIGWRT |
TSCADC_CNTRLREG_STEPID;
//if (pdata->tsc_init)
// ctrl |= TSCADC_CNTRLREG_4WIRE |
// TSCADC_CNTRLREG_TSCENB;
if (pdata->tsc_init) {
if(tsc_wires == 4)
ctrl |= TSCADC_CNTRLREG_4WIRE;
else if(tsc_wires == 5)
ctrl |= TSCADC_CNTRLREG_5WIRE;
else
ctrl |= TSCADC_CNTRLREG_8WIRE;
ctrl |= TSCADC_CNTRLREG_TSCENB;
}
Best regards
wangl