summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYauhen Kharuzhy <jekhor@gmail.com>2026-02-17 21:10:27 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-02-18 10:05:16 +0300
commit710a1a8c591e93fa49946b68a4f1e25ae9687ecf (patch)
tree7d3831659940d1120d041de6d69b342babdd3367 /include/linux
parent029edcfc4331f404570affbbd4f7d11f0a7fb13e (diff)
downloadlinux-710a1a8c591e93fa49946b68a4f1e25ae9687ecf.tar.xz
Input: drv260x - handle calibration timeout
If something goes wrong during calibration (for instance, if the 'enable' GPIO was not properly defined), the GO bit may not be cleared after some time, causing the driver to get stuck. To prevent this, add a timeout check to the waiting loop and return an error if it times out. Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com> Link: https://patch.msgid.link/20260215141435.727872-6-jekhor@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions