]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ad7879 - add check for read errors in interrupt
authorAditya Pakki <pakki001@umn.edu>
Mon, 7 Jan 2019 19:53:59 +0000 (11:53 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 7 Jan 2019 19:59:57 +0000 (11:59 -0800)
commite90fcf9d13864bcc294089d93b32cfb9e890fc4e
tree59b68bc824a4efc4515f8782cc4f53b0c363d4d2
parent0c48af55f0725abda04d7cd2446118b195e9727b
Input: ad7879 - add check for read errors in interrupt

regmap_bulk_read() can return a non zero value on failure. The fix checks
if the function call succeeded before calling mod_timer. The issue was
identified by a static analysis tool.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ad7879.c