[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)
commitda6e4674b0917d3a76ebb7938e6e2fa9532ce76f
treee7fb284f4c766d04f03e491dfdfd4b34a72fd96b
parentca27ab31597c9e3c75f0dd46d85087c0627d748c
[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