Correct xpt2046_cbn_ts bug on IT50
authorRich.jiangyk <jyk@rock-chips.com>
Fri, 17 Sep 2010 03:41:35 +0000 (11:41 +0800)
committerRich.jiangyk <jyk@rock-chips.com>
Fri, 17 Sep 2010 03:41:35 +0000 (11:41 +0800)
commit12d25894f0fb551f6e1846de445ade1e336653ed
tree1fc9cd521485c5326d6da65132888b57c7f10b0b
parentd1babc485ec304685148aef494384353179fe648
Correct xpt2046_cbn_ts bug on IT50

On IT50 board, the touch screen sends 4095 invalid message for first raw data sample, especially
for the top-left corner.
The modification discards the first sample before processing it, which correct the bug and solve
the problem on IT50. This won't affect other boards.
NOTE: mod by srt, commit by jyk
drivers/input/touchscreen/xpt2046_cbn_ts.c