touch: remove duplicate register input device call
authormakarand.karvekar <makarand.karvekar@motorola.com>
Fri, 30 Jul 2010 03:23:38 +0000 (22:23 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:27 +0000 (16:33 -0700)
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 <makarand.karvekar@motorola.com>
drivers/input/touchscreen/qtouch_obp_ts.c

index 4e34d5ab834bee7efdd1ae555e1f403c8f58e1ae..3da57437029bf4b2453078bfaf1cd8df9802ac86 100644 (file)
@@ -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);