Re: [PATCH] input/touchscreen: Fix a missing check on regmap_bulk_read

2018-12-26 Thread Dmitry Torokhov
Hi, On Mon, Dec 24, 2018 at 12:37:19PM -0600, Aditya Pakki wrote: > regmap_bulk_read() can return a non zero value on failure. The fix > checks if the function call succeeded before calling mod_timer. > > Signed-off-by: Aditya Pakki > --- > drivers/input/touchscreen/ad7879.c | 7 --- > 1

[PATCH] input/touchscreen: Fix a missing check on regmap_bulk_read

2018-12-24 Thread Aditya Pakki
regmap_bulk_read() can return a non zero value on failure. The fix checks if the function call succeeded before calling mod_timer. Signed-off-by: Aditya Pakki --- drivers/input/touchscreen/ad7879.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git