Re: [PATCH v2] touchscreen: elants: fix a missing check of return values

2018-12-26 Thread Dmitry Torokhov
Hi, On Mon, Dec 24, 2018 at 10:36:13PM -0600, Kangjie Lu wrote: > elants_i2c_send() may fail, let's check its return values. The fix does > the check and reports an error message upon the failure. > > Signed-off-by: Kangjie Lu > --- > drivers/input/touchscreen/elants_i2c.c | 18

[PATCH v2] touchscreen: elants: fix a missing check of return values

2018-12-24 Thread Kangjie Lu
elants_i2c_send() may fail, let's check its return values. The fix does the check and reports an error message upon the failure. Signed-off-by: Kangjie Lu --- drivers/input/touchscreen/elants_i2c.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git