]> git.baikalelectronics.ru Git - kernel.git/commit
[media] add frame size/frame rate query functions
authorFlorian Echtler <floe@butterbrot.org>
Mon, 25 May 2015 12:04:14 +0000 (09:04 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 30 May 2015 14:44:10 +0000 (11:44 -0300)
commit3e962a1db492577cbab0f14bf6a95e5b332a4ad4
treee7fb284f4c766d04f03e491dfdfd4b34a72fd96b
parent7f8ca189140ba5830c50c419940be2e26ed45ab3
[media] add frame size/frame rate query functions

Add missing functions to query the single fixed frame size (960x540) and
supported frame rates. Technically, the SUR40 supports any arbitrary frame
rate up to 60 FPS, as it is polled and not interrupt-driven. For now, we
just report 30 and 60 FPS, which is sufficient to make most V4L2 tools work.

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@osg.samsung.com>
drivers/input/touchscreen/sur40.c