summaryrefslogtreecommitdiff
path: root/drivers/media/platform/exynos4-is/fimc-lite.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-06-18 15:00:42 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-28 22:30:36 +0400
commita055d97037ad09ad9b87f6a6e74a65a44b942102 (patch)
tree99705caaaa6c89d1d2a1d50dab72ef7a8e272304 /drivers/media/platform/exynos4-is/fimc-lite.h
parentb1d2dc5c4d39d4e6c405419ad1f444bf59874111 (diff)
downloadlinux-a055d97037ad09ad9b87f6a6e74a65a44b942102.tar.xz
[media] exynos4-is: Set valid initial format at FIMC-LITE
Ensure the image resolution and crop rectangle on the FIMC-LITE.n subdevs and fimc-lite.n.capture video nodes is properly configured upon the driver's initialization. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-lite.h')
-rw-r--r--drivers/media/platform/exynos4-is/fimc-lite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-lite.h b/drivers/media/platform/exynos4-is/fimc-lite.h
index c98f3da74870..7428b2d22b52 100644
--- a/drivers/media/platform/exynos4-is/fimc-lite.h
+++ b/drivers/media/platform/exynos4-is/fimc-lite.h
@@ -29,6 +29,8 @@
#define FLITE_CLK_NAME "flite"
#define FIMC_LITE_MAX_DEVS 3
#define FLITE_REQ_BUFS_MIN 2
+#define FLITE_DEFAULT_WIDTH 640
+#define FLITE_DEFAULT_HEIGHT 480
/* Bit index definitions for struct fimc_lite::state */
enum {