summaryrefslogtreecommitdiffstats
path: root/include/linux/input
diff options
context:
space:
mode:
authorPatil, Rachna <rachna@ti.com>2012-10-16 12:55:38 +0530
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-05 23:50:26 +0100
commit33f5cc605d28bd82be8a728090063203947158f3 (patch)
tree550911e16b9a87914cb18e033f557ae364c98ad1 /include/linux/input
parent3d70f8c617a436c7146ecb81df2265b4626dfe89 (diff)
downloadlinux-33f5cc605d28bd82be8a728090063203947158f3.tar.gz
linux-33f5cc605d28bd82be8a728090063203947158f3.tar.bz2
linux-33f5cc605d28bd82be8a728090063203947158f3.zip
input: TSC: ti_tscadc: Correct register usage
This patch cleans up the wrong register definitions and usage for touchscreen controller. Bit masks were not defined earlier. For ex: consider a register define as: write(xyz, ABC) ABC is expected to be written to register bits 0-11. Here we see that value written is as expected, but this write is also affecting all the remaining bits of xyz. The remaining bits hold the default value as 0 and the write also sets it to zero. Hence wrong usage were not causing user visible bugs. Due to these reasons it was difficult to follow when compared with TRM. Unused definitions are also removed. Since there is change in some naming convention because of all the above mentioned reasons, the same has been updated throughout the code. Bit declarations are grouped to increase readability. Signed-off-by: Patil, Rachna <rachna@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions