touch: Correct message read size for CRC feature.
authormakarand.karvekar <makarand.karvekar@motorola.com>
Tue, 6 Jul 2010 18:30:44 +0000 (13:30 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:15 +0000 (16:33 -0700)
commit23b71fa971f8f5517081a2f4610abb638668c285
tree2f5cdf12bae9a18cc923cdb723722b4e5c1bdc6d
parent6100ff82f651c2485ff14118c0e21c29b0d3a869
touch: Correct message read size for CRC feature.

Previously, Message Processor always generated
CRC byte at end of message.
Now(version 8), this CRC byte is generated only upon request.
To request that a checksum is generated, the MSBit
of the address of the Message Processor object is set to 1.

By default the CRC byte is not generated, reading the CRC byte
will remove new messages from IC causing lost touches.

Added control flag and message size correction for this feature.

Change-Id: I7d1a75528a59afcc95688ae1b7d6704d29ffe443
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
drivers/input/touchscreen/qtouch_obp_ts.c
include/linux/qtouch_obp_ts.h