All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulrik De Bie <ulrik.debie-os@e2big.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: stable@vger.kernel.org, linux-input@vger.kernel.org,
	Hans de Goede <hdegoede@redhat.com>,
	David Herrmann <dh.herrmann@gmail.com>,
	ulrik.debie-os@e2big.org
Subject: [PATCH v3 2/2] elantech: Call psmouse_reset when elantech probe fails
Date: Fri, 13 Jun 2014 23:21:13 +0200	[thread overview]
Message-ID: <1402694473-11518-3-git-send-email-ulrik.debie-os@e2big.org> (raw)
In-Reply-To: <1402694473-11518-1-git-send-email-ulrik.debie-os@e2big.org>

Signed-off-by: Ulrik De Bie <ulrik.debie-os@e2big.org>
---
 drivers/input/mouse/elantech.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index 0eb185b..fa150d9 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1617,6 +1617,7 @@ int elantech_init(struct psmouse *psmouse)
 	sysfs_remove_group(&psmouse->ps2dev.serio->dev.kobj,
 			   &elantech_attr_group);
  init_fail:
+	psmouse_reset(psmouse);
 	kfree(etd);
 	return error;
 }
-- 
2.0.0

  parent reply	other threads:[~2014-06-13 21:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140613205547.GA5244@lantern>
2014-06-13 21:21 ` [PATCH v3 0/2] Input: Support in the elantech driver of the trackpoint present on for instance Lenovo L530 Ulrik De Bie
2014-06-13 21:21   ` [PATCH v3 1/2] elantech: Add support for trackpoint found on some v3 models Ulrik De Bie
2014-06-16  8:42     ` David Herrmann
2014-06-16 21:53       ` [PATCH v4 0/2] Input: Support in the elantech driver of the trackpoint present on for instance Lenovo L530 Ulrik De Bie
2014-06-16 21:53         ` [PATCH v4 1/2] elantech: Add support for trackpoint found on some v3 models Ulrik De Bie
2014-06-16 21:53         ` [PATCH v4 2/2] elantech: Call psmouse_reset when elantech probe fails Ulrik De Bie
2014-06-17  6:08           ` Hans de Goede
2014-07-14 19:03         ` [PATCH v4 0/2] Input: Support in the elantech driver of the trackpoint present on for instance Lenovo L530 ulrik.debie-os
2014-06-13 21:21   ` Ulrik De Bie [this message]
2014-06-16  8:44     ` [PATCH v3 2/2] elantech: Call psmouse_reset when elantech probe fails David Herrmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1402694473-11518-3-git-send-email-ulrik.debie-os@e2big.org \
    --to=ulrik.debie-os@e2big.org \
    --cc=dh.herrmann@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=linux-input@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.