From: Luo Jinghua <sunmoon1997@gmail.com>
To: Henrik Rydberg <rydberg@euromail.se>
Cc: linux-input@vger.kernel.org, Luo Jinghua <sunmoon1997@gmail.com>
Subject: [PATCH] input: bcm5974 turn wellspring mode off if failed to start traffic
Date: Wed, 2 Jun 2010 03:45:59 +0800 [thread overview]
Message-ID: <1275421559-7980-1-git-send-email-sunmoon1997@gmail.com> (raw)
The bcm5974 driver doesn't work on my MacbookPro6,2 for some reason. It
failed to start traffic and left the wellsprint mode on. As a result,
the keyboard is slow to response and become unusable.
Signed-off-by: Luo Jinghua <sunmoon1997@gmail.com>
---
drivers/input/mouse/bcm5974.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/input/mouse/bcm5974.c b/drivers/input/mouse/bcm5974.c
index 6dedded..5518089 100644
--- a/drivers/input/mouse/bcm5974.c
+++ b/drivers/input/mouse/bcm5974.c
@@ -595,6 +595,7 @@ static int bcm5974_start_traffic(struct bcm5974 *dev)
err_kill_bt:
usb_kill_urb(dev->bt_urb);
+ bcm5974_wellspring_mode(dev, false);
error:
return -EIO;
}
--
1.7.1
next reply other threads:[~2010-06-02 3:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-01 19:45 Luo Jinghua [this message]
2010-06-02 7:35 ` [PATCH] input: bcm5974 turn wellspring mode off if failed to start traffic Dmitry Torokhov
[not found] ` <AANLkTil4cysRYD9Ofx9vnuU7B4z8yw1fYOJ5VF7A4d-P@mail.gmail.com>
2010-06-02 9:27 ` Henrik Rydberg
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=1275421559-7980-1-git-send-email-sunmoon1997@gmail.com \
--to=sunmoon1997@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=rydberg@euromail.se \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).