From: makarand.karvekar Date: Fri, 30 Jul 2010 03:23:38 +0000 (-0500) Subject: touch: remove duplicate register input device call X-Git-Tag: firefly_0821_release~9834^2~742 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0f0edcf5243d636ced6c2ce08c3ccae995bcedb9;p=firefly-linux-kernel-4.4.55.git touch: remove duplicate register input device call duplicate register input called, when boot work function is triggered via firmware update process. This broke reboot command. Change-Id: I78547127bfbde39f1f971806156d332883b8bf43 Signed-off-by: makarand.karvekar --- diff --git a/drivers/input/touchscreen/qtouch_obp_ts.c b/drivers/input/touchscreen/qtouch_obp_ts.c index 4e34d5ab834b..3da57437029b 100644 --- a/drivers/input/touchscreen/qtouch_obp_ts.c +++ b/drivers/input/touchscreen/qtouch_obp_ts.c @@ -1442,11 +1442,6 @@ touch_to_normal_mode: pr_err("%s:Cannot read info block %i\n", __func__, err); goto err_return; } - err = qtouch_ts_register_input(ts); - if (err != 0) { - pr_err("%s: Registering input failed %i\n", __func__, err); - goto err_return; - } err = qtouch_ts_prep_msg_proc(ts); if (err != 0) { pr_err("%s: setting message proc failed %i\n", __func__, err);