fix bug in xpt2046_ts.c, move ahead data discard.
authorRich.jiangyk <jyk@rock-chips.com>
Sun, 19 Sep 2010 11:49:54 +0000 (19:49 +0800)
committerRich.jiangyk <jyk@rock-chips.com>
Sun, 19 Sep 2010 12:02:09 +0000 (20:02 +0800)
commitc1c8e506a9aced303b0bcc4eb2eaea4df66aef80
tree4d89ef6ab5736f2888f0de1ef6686aadf69c6d1a
parentfbb07241ef572473eea81f17386a8f96902f4a59
fix bug in xpt2046_ts.c, move ahead data discard.

The configuration for XPT2046 TS driver with CALIBRATION is "XPT2046 based touchscreens: XPT2046 SPI Interface".
In this modification,  the first raw data is discarded before processed, so that it can work on IT50.
drivers/input/touchscreen/xpt2046_ts.c