3 Commits

Author SHA1 Message Date
Biswajit Dash
f4add59b17 touchscreen: sec_ts: Fix potential race in sec_ts command execution code path.
sec_ts driver used a mutex to serialize access to a flag indicating whether any
command is currently running. But some code path reading the status of
the flag were not protected which could potentially result in race. In
any case a mutex for a flag seem an over-kill. This CL got rid of this
mutex by converting the flag to an atomic variable.

Bug: 123027495

Change-Id: I4537241d5d10dc97dd764fe8324afb35c414668c
Signed-off-by: Biswajit Dash <bisdash@google.com>
2019-01-17 13:00:31 -08:00
KyungSuk Jang
24e91c919d input: touchscreen: sec_ts: disable sec_ts command queue
Bug: 75974703
Change-Id: I9401fb4063b01e06d38d495fdefd1670eb55f631
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
2018-03-20 17:12:03 -07:00
Steve Pfetsch
89979af2fd touch: LSI touch driver and header changes
- Modified sec_ts driver and added sec_cmd
- Modified Linux header files with changes from open source kernel

Bug: 69859019
Change-Id: Ibd8b53eadb5726720505dfdd4f25e290b8de3e97
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
2017-12-15 14:06:24 -08:00