diff options
author | Steve Pfetsch <spfetsch@google.com> | 2019-06-25 13:10:40 -0700 |
---|---|---|
committer | Steve Pfetsch <spfetsch@google.com> | 2019-06-25 13:10:40 -0700 |
commit | f84119eba35fef4f71b3bc7fcc4ad20ce3b90992 (patch) | |
tree | 37fbbdacddaac525d230679d9d8fb138a6f96cd2 | |
parent | 01907521ece9c9445ce44de7068ce7a5541ceae9 (diff) | |
download | fts_touch-f84119eba35fef4f71b3bc7fcc4ad20ce3b90992.tar.gz |
input: touchscreen: fts: reduce golden mutual buffer to required length
The line that computed the length of the golden mutual raw data
formatted for output over procfs was longer than necessary. Shorten to
the correct length.
Bug: 136021057
Change-Id: I3bbc015607db1adbd86561159312f4aa479dde60
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
-rw-r--r-- | fts_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1859,7 +1859,7 @@ static ssize_t fts_driver_test_write(struct file *file, const char __user *buf, pr_info("GM data reading Finished!\n"); - size = gmRawData.data_size * sizeof(s32) + 6; + size = (6 + gmRawData.data_size) * sizeof(u16); print_frame_short("Golden Mutual Data =", array1dTo2d_short( |