summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/st (follow)
Commit message (Collapse)AuthorAge
* Merge tag 'LA.UM.8.4.r1-05700-8x98.0' of ↵Michael Bestas2020-07-23
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://source.codeaurora.org/quic/la/kernel/msm-4.4 into lineage-17.1-caf-msm8998 * tag 'LA.UM.8.4.r1-05700-8x98.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.4: msm: adsprpc: Fix array index underflow problem profiler: Fix compilation errors fbdev: msm: fix ret value while translating to mdp format clk: msm: Fix compilation errors with clang ath10k: Fix compilation issue drm/msm/sde: Fix clang compilation in SDE driver ais: cam_soc_api: Fix compilation error msm: camera: reset atomic variable msm: v4l2loopback: Fix clang compilation error msm: Fix compilation error asoc: msm-8998: Add new FE's for TDM Primary diag: dci: Synchronize dci mempool buffers alloc and free headers_lib: rename Android.bp kbuild: skip install/check of headers right under uapi directories uapi: export all arch specifics directories kernel_headers: Fix headers not detected in incremental builds kernel headers: Update comparison logic Kbuild : Use no-export-headers to avoid exporting headers kernel_headers: kernel headers library package kbuild: replace genhdr-y with generated-y uapi: export all headers under uapi directories uapi: sound: move necessary sound headers under uapi kernel: Fix build errors with LLVM Revert "ARM: dts: msm: Remove cpu max frequency restriction on cold temp for msm8996." ARM: dts: msm: Remove cpu max frequency restriction on cold temp for msm8996. input: touchpanel: Fix compilation errors with clang asoc: msm-8998: TDM device grouping changes for capture path kbuild, x86: Track generated headers with generated-y kbuild: Remove stale asm-generic wrappers ARM: put types.h in uapi msm: ais: jpegdma: Fix uninitialized variable Makefile.headersinst: remove destination-y option msm: adsprpc: DSP device node to provide restricted access to ADSP/SLPI Conflicts: .gitignore drivers/mmc/core/sdio_cis.c Change-Id: I70cf2a0fbcfcbc834a21cf7fa8db9bd2e1c755b1
| * input: touchpanel: Fix compilation errors with clangSwetha Chikkaboraiah2020-05-16
| | | | | | | | | | | | | | | | This patch intends to fix compilation errors while building kernel with LLVM toolchain. Change-Id: I8d1f9dd6a5e52a6a63cc142ae33d4bb671308712 Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
* | Revert "input: touchscreen: st: Fix logical '&&' with constant operand warning"Michael Bestas2020-07-23
| | | | | | | | | | | | | | | | * We'll take the upstream fix This reverts commit d1a513b1cb96f5dd99e803c521260354feaddc9d. Change-Id: Ie241fdc188d2d496a862c845165c4ce7e51ffcec
* | Revert "input: touchscren: st: Remove unnecessary parentheses"Michael Bestas2020-07-23
| | | | | | | | | | | | | | | | * We'll take the upstream fix This reverts commit 469a6a56f4dd2a16bc3cad3072250e806b705156. Change-Id: I8ad15bebff59d74eb9434585156f76814d6c47d8
* | input: touchscren: st: Remove unnecessary parenthesesNathan Chancellor2020-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang warns: ../drivers/input/touchscreen/st/fts_gui.c:61:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((i == 0)) { ~~^~~~ ../drivers/input/touchscreen/st/fts_gui.c:61:10: note: remove extraneous parentheses around the comparison to silence this warning if ((i == 0)) { ~ ^ ~ ../drivers/input/touchscreen/st/fts_gui.c:61:10: note: use '=' to turn this equality comparison into an assignment if ((i == 0)) { ^~ = ../drivers/input/touchscreen/st/fts_gui.c:128:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((i == 0)) { ~~^~~~ ../drivers/input/touchscreen/st/fts_gui.c:128:10: note: remove extraneous parentheses around the comparison to silence this warning if ((i == 0)) { ~ ^ ~ ../drivers/input/touchscreen/st/fts_gui.c:128:10: note: use '=' to turn this equality comparison into an assignment if ((i == 0)) { ^~ = ../drivers/input/touchscreen/st/fts_gui.c:176:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((i == 0)) { ~~^~~~ ../drivers/input/touchscreen/st/fts_gui.c:176:10: note: remove extraneous parentheses around the comparison to silence this warning if ((i == 0)) { ~ ^ ~ ../drivers/input/touchscreen/st/fts_gui.c:176:10: note: use '=' to turn this equality comparison into an assignment if ((i == 0)) { ^~ = ../drivers/input/touchscreen/st/fts_gui.c:244:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((i == 0)) { ~~^~~~ ../drivers/input/touchscreen/st/fts_gui.c:244:10: note: remove extraneous parentheses around the comparison to silence this warning if ((i == 0)) { ~ ^ ~ ../drivers/input/touchscreen/st/fts_gui.c:244:10: note: use '=' to turn this equality comparison into an assignment if ((i == 0)) { ^~ = 4 warnings generated. Fixes: ed29ea5a01b9 ("input: touchpanel: Add ST Touchscreen version 4.1.0 driver") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
* | input: touchscreen: st: Fix logical '&&' with constant operand warningNathan Chancellor2020-02-02
| | | | | | | | | | | | | | | | | | | | | | Clang warns: ../drivers/input/touchscreen/st/fts_lib/ftsGesture.c:337:165: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] ../drivers/input/touchscreen/st/fts_lib/ftsGesture.c:367:132: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
* | input: touchscreen: st: Don't redefine u8, u16, and u32Nathan Chancellor2020-02-02
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | Clang warns a lot in this driver along the lines of: In file included from ../drivers/input/touchscreen/st/fts_lib/ftsGesture.c:19: In file included from ../drivers/input/touchscreen/st/fts_lib/ftsIO.h:17: In file included from ../drivers/input/touchscreen/st/fts_lib/ftsCrossCompile.h:4: In file included from ../include/linux/init.h:4: In file included from ../include/linux/compiler.h:220: In file included from ../include/uapi/linux/types.h:4: In file included from arch/arm64/include/generated/asm/types.h:1: In file included from ../include/uapi/asm-generic/types.h:6: ../include/asm-generic/int-ll64.h:16:23: warning: redefinition of typedef 'u8' is a C11 feature [-Wtypedef-redefinition] typedef unsigned char u8; ^ ../drivers/input/touchscreen/st/fts_lib/ftsSoftware.h:18:23: note: previous definition is here typedef unsigned char u8; ^ Fixes: ed29ea5a01b9 ("input: touchpanel: Add ST Touchscreen version 4.1.0 driver") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
* input: touchpanel: fix TP frozen when ST's TP firstly probe upJin Fu2017-10-11
| | | | | | | | | Set TP to display-unblank status when firstly probe up, so that TP can detect interrupt and report touch event without press power key. Change-Id: I6e4ea48551463c6d0f747987d7c255987e3a11df Signed-off-by: Jin Fu <jinf@codeaurora.org>
* input: touchpanel: fix wastes of time when resume and probe for ST's TPJin Fu2017-08-01
| | | | | | | | | | Remove a useless system reset, reduce the fts_status_event_handler's print level and modify a error at parsing reset pin to fix the long time resume problem. Besides, remove the needless auto-apdate-FW func when probe to speed up TP's probe process. Change-Id: I1c68fa7add65106d7efcf87b9002363a9242b2f7 Signed-off-by: Jin Fu <jinf@codeaurora.org>
* input: touchscreen: fix issues related to variable initializationShantanu Jain2017-05-05
| | | | | | | | Fix issues related to variable initialization in FTS touchscreen driver. Change-Id: I2911787dd1e1979e027bacdd1bc1cec06845ffd3 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* input: touchpanel: Add ST Touchscreen version 4.1.0 driverYahui Wang2017-02-14
This is the reference driver source code for ST Touchscreen of version 4.1.0. It is used for QVR8998 touchscreen. (cherry picked from commit 2cd09314337d614e69d0ebd99afb71d99d31b69a) Signed-off-by: chenx <chenxiang0527@thundersoft.com> Git-commit: 2cd09314337d614e69d0ebd99afb71d99d31b69a Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-3.10 CRs-Fixed: 1106217 Change-Id: I6674245402c0a5d6cca6bf82a9f8b1bf4f4f4ef3 Signed-off-by: Jin Fu <jinf@codeaurora.org>