From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Andreas Mohr <andi@lisas.de>,
Clemens Ladisch <clemens@ladisch.de>,
Vojtech Pavlik <vojtech@suse.cz>, Jiri Kosina <jkosina@suse.cz>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] Input: joystick - Use ktime for measuring timing
Date: Thu, 18 Sep 2014 09:56:42 -0700 [thread overview]
Message-ID: <20140918165642.GA14809@core.coreip.homeip.net> (raw)
In-Reply-To: <s5hmw9x8km7.wl-tiwai@suse.de>
On Thu, Sep 18, 2014 at 09:15:44AM +0200, Takashi Iwai wrote:
> At Wed, 17 Sep 2014 21:23:37 +0200,
> Andreas Mohr wrote:
> >
> > Hi,
> >
> > On Wed, Sep 10, 2014 at 05:57:17PM +0200, Takashi Iwai wrote:
> > > The current codes in gameport and analog joystick drivers for the time
> > > accounting have a long-standing problem when the system is running
> > > with CPU freq; since the timing is measured via TSC or sample counter,
> > > the calculation isn't reliable.
> >
> > Thank you very much for having followed through on this!
> > (somehow you never seem to disappoint me :)
> >
> > While working on testing this and doing various gameport/soundcard modifications,
> > I'm afraid I have seen the following checkpatch.pl (of v3.16) warnings:
> >
> > WARNING: Missing a blank line after declarations
> > #164: FILE: drivers/input/joystick/analog.c:192:
> > + unsigned int x;
> > + GET_TIME(x);
> >
> > WARNING: line over 80 characters
> > #224: FILE: drivers/input/joystick/analog.c:301:
> > + port->axes[j] = (delta(start, time[i]) << ANALOG_FUZZ_BITS) / port->loop;
>
> Both are cosmetic and I won't be bothered if it were sent to my tree,
> for example ;) It depends on the maintainer, so if Dmitry wants these
> to be fixed, I'm willing to resubmit, of course.
No, I do not. If there is a large rework we might want to reformat it,
otherwise let's leave it as is.
Thanks.
--
Dmitry
prev parent reply other threads:[~2014-09-18 16:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-10 15:57 Takashi Iwai
2014-09-17 19:23 ` Andreas Mohr
2014-09-18 7:15 ` Takashi Iwai
2014-09-18 16:56 ` Dmitry Torokhov [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=20140918165642.GA14809@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=andi@lisas.de \
--cc=clemens@ladisch.de \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tiwai@suse.de \
--cc=vojtech@suse.cz \
/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
all inboxes | Powered by JetHome®