]> Git Repo - linux.git/commit
input/joystick: use get_cycles on ARM
authorArnd Bergmann <[email protected]>
Wed, 13 Feb 2013 16:11:09 +0000 (17:11 +0100)
committerArnd Bergmann <[email protected]>
Thu, 14 Mar 2013 21:38:20 +0000 (22:38 +0100)
commit6fdd496e07f511a94ba27e4a1433038b32d6af05
tree58f824cdb5845ada70b725379198bdb3db52fd6d
parent01ffe957e2f0340a13fd40a6577d029f252ad7c7
input/joystick: use get_cycles on ARM

ARM normally has an accurate clock source, so
we can theoretically use analog joysticks more
accurately and at the same time avoid the
build warning

 #warning Precise timer not defined for this architecture.

from the joystick driver.

Now, why anybody would use that driver no ARM I have no
idea, but Ben Dooks enabled it in the s3c2410_defconfig
along with a bunch of other drivers, even though that
platform has neither ISA nor PCI support. It still
seems to be the right thing to fix this quirk.

Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Vojtech Pavlik <[email protected]>
Cc: Ben Dooks <[email protected]>
drivers/input/joystick/analog.c
This page took 0.052379 seconds and 4 git commands to generate.