]> git.baikalelectronics.ru Git - kernel.git/commit
Input: edt-ft5x06 - add a missing condition
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 3 Apr 2014 16:17:05 +0000 (09:17 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 3 Apr 2014 16:25:02 +0000 (09:25 -0700)
commita67004a9bb6112923c8be4f0d9e75cad65148019
tree2fbc7035d343ba5a4728e4b017510fbda7288e28
parent3e555f7c090cb32f5f5b4f30629ee18dc8ad6e59
Input: edt-ft5x06 - add a missing condition

The if condition was accidentally deleted here so we return every time
instead of returning on error.

Fixes: 3b7e3b4d541e ('Input: edt-ft5x06 - add support for M09 firmware version')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Acked-By: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/edt-ft5x06.c