sur40: lower poll interval to fix occasional FPS drops to ~56 FPS
authorFlorian Echtler <floe@butterbrot.org>
Tue, 31 May 2016 20:15:32 +0000 (17:15 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Aug 2016 16:09:18 +0000 (18:09 +0200)
commitf8ad7cb60062a5a0514eb720b44f164276ebc4e0
tree36d58a51b7f7e942924ccaaf308cdb6223ad5871
parent8dbd7a3684fa0c33ed9448a237e1b0ac2cb3d52e
sur40: lower poll interval to fix occasional FPS drops to ~56 FPS

commit af766ee005c496b8567976dc3eed7676443ed6de upstream.

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 <modin@yuri.at>
Signed-off-by: Florian Echtler <floe@butterbrot.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/touchscreen/sur40.c