linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Simon Wood" <simon@mungewell.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: "\"Michal Malý\"" <madcatxster@gmail.com>,
	"Simon Wood" <gitsend@mungewell.org>,
	"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
	lkml <linux-kernel@vger.kernel.org>,
	"Jiri Kosina" <jkosina@suse.cz>, "Edwin Velds" <edwin@velds.nl>,
	"Elias Vanderstuyft" <elias.vds@gmail.com>,
	"Simon Wood" <simon@mungewell.org>
Subject: Re: [RFC] HID:hid-lg4ff: Delay to allow wheels to center after plug-in
Date: Thu, 27 Oct 2016 17:30:38 -0600	[thread overview]
Message-ID: <c91b066b6d35a18c149ec18f28a863b1.squirrel@mungewell.org> (raw)
In-Reply-To: <CAKdAkRQN2Kv7CLrmXzEjfPatgkmzBexzsBYdhzOLjunDTD0APg@mail.gmail.com>

On Wed, October 26, 2016 11:00 am, Dmitry Torokhov wrote:
>
> Yeah, if device happens to be plugged at boot time it will wait that
> long before even getting to mount rootfs if driver is built into the
> kernel.

Not a case I had considered... that would probably be bad. I'll look at
coding up a work queue as Elias had suggested.

>
> This is also interesting way to say "msleep(8000)".

I'm a copy/paste guy, this was from the delay we have in hid-lg.c probe,
if one way or another is better I'll use that,
Simon

      reply	other threads:[~2016-10-27 23:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26  1:26 [RFC] HID:hid-lg4ff: Delay to allow wheels to center after plug-in Simon Wood
2016-10-26  7:36 ` Michal Malý
2016-10-26 17:00   ` Dmitry Torokhov
2016-10-27 23:30     ` Simon Wood [this message]

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=c91b066b6d35a18c149ec18f28a863b1.squirrel@mungewell.org \
    --to=simon@mungewell.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=edwin@velds.nl \
    --cc=elias.vds@gmail.com \
    --cc=gitsend@mungewell.org \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=madcatxster@gmail.com \
    /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).