projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcdb904
)
[media] sur40: lower poll interval to fix occasional FPS drops to ~56 FPS
author
Florian Echtler
<
[email protected]
>
Tue, 31 May 2016 20:15:32 +0000
(17:15 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 8 Jul 2016 19:16:56 +0000
(16:16 -0300)
The framerate sometimes drops below 60 Hz if the poll interval is too high.
Lowering it to the minimum of 1 ms fixes this.
Signed-off-by: Martin Kaltenbrunner <
[email protected]
>
Signed-off-by: Florian Echtler <
[email protected]
>
Signed-off-by: Hans Verkuil <
[email protected]
>
Cc: <
[email protected]
> # for v4.2 and up
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/input/touchscreen/sur40.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/sur40.c
b/drivers/input/touchscreen/sur40.c
index f124f3af0de1638925180026a3ce6986469bcbcc..bff525f26e87333c73279d513f0602bfed45b43c 100644
(file)
--- a/
drivers/input/touchscreen/sur40.c
+++ b/
drivers/input/touchscreen/sur40.c
@@
-126,7
+126,7
@@
struct sur40_image_header {
#define VIDEO_PACKET_SIZE 16384
/* polling interval (ms) */
-#define POLL_INTERVAL
4
+#define POLL_INTERVAL
1
/* maximum number of contacts FIXME: this is a guess? */
#define MAX_CONTACTS 64