projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99a844b
)
drivers/input/joystick/analog.c: enable precise timer
author
Chris Metcalf
<cmetcalf@tilera.com>
Fri, 1 Feb 2013 17:59:36 +0000
(12:59 -0500)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Mon, 4 Feb 2013 17:53:12 +0000
(12:53 -0500)
Like nm10300, tile can just use get_cycles() for this.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
drivers/input/joystick/analog.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/joystick/analog.c
b/drivers/input/joystick/analog.c
index 358cd7ee905b7ff4f9a7498e277341037437bf19..7cd74e29cbc87a6495277ecd74d7135ebcd75ad3 100644
(file)
--- a/
drivers/input/joystick/analog.c
+++ b/
drivers/input/joystick/analog.c
@@
-162,7
+162,7
@@
static unsigned int get_time_pit(void)
#define GET_TIME(x) do { x = get_cycles(); } while (0)
#define DELTA(x,y) ((y)-(x))
#define TIME_NAME "PCC"
-#elif defined(CONFIG_MN10300)
+#elif defined(CONFIG_MN10300)
|| defined(CONFIG_TILE)
#define GET_TIME(x) do { x = get_cycles(); } while (0)
#define DELTA(x, y) ((x) - (y))
#define TIME_NAME "TSC"