summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2012-03-14 08:37:03 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-19 22:11:06 -0300
commit48e971cd7fc2440d49159786ecc8786298f98cec (patch)
tree4921cb8c5c365f49155dfa680cf675bb597890ab /include/media
parent7705b6d8eac89067e5177835468c99e71e2cd40c (diff)
downloadlinux-48e971cd7fc2440d49159786ecc8786298f98cec.tar.bz2
[media] V4L: sh_mobile_ceu_camera: maximum image size depends on the hardware version
Newer CEU versions, e.g., the one, used on sh7372, support image sizes larger than 2560x1920. Retrieve maximum sizes from platform properties. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/sh_mobile_ceu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/sh_mobile_ceu.h b/include/media/sh_mobile_ceu.h
index 48413b410f15..a90a765f18da 100644
--- a/include/media/sh_mobile_ceu.h
+++ b/include/media/sh_mobile_ceu.h
@@ -18,6 +18,8 @@ struct sh_mobile_ceu_companion {
struct sh_mobile_ceu_info {
unsigned long flags;
+ int max_width;
+ int max_height;
struct sh_mobile_ceu_companion *csi2;
};