summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/imx/imx-ic-prp.c
diff options
context:
space:
mode:
authorKrzysztof HaƂasa <khalasa@piap.pl>2020-05-14 12:00:47 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-19 13:39:45 +0200
commitf0e226885c3c18b2e7e27b8043c5a393405b037e (patch)
treee9f53408367342e8bd25a99ee9160c786f89be7c /drivers/staging/media/imx/imx-ic-prp.c
parent5f3fb5c54d67670fa6743d2434a5bd43a97c01de (diff)
downloadlinux-stable-f0e226885c3c18b2e7e27b8043c5a393405b037e.tar.gz
linux-stable-f0e226885c3c18b2e7e27b8043c5a393405b037e.tar.bz2
linux-stable-f0e226885c3c18b2e7e27b8043c5a393405b037e.zip
staging/media: Remove unneeded geometry restrictions from i.MX CSI driver
I don't know what minimal image dimensions are, but 32x32 appears to be ok according to the docs. This is needed for small sensors like 80x80 thermal imagers. Signed-off-by: Krzysztof Halasa <khalasa@piap.pl> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Tested-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Steve Longerbeam <slongerbeam@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/imx/imx-ic-prp.c')
-rw-r--r--drivers/staging/media/imx/imx-ic-prp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/imx/imx-ic-prp.c b/drivers/staging/media/imx/imx-ic-prp.c
index 7658b83466a7..5b09e11b1a0e 100644
--- a/drivers/staging/media/imx/imx-ic-prp.c
+++ b/drivers/staging/media/imx/imx-ic-prp.c
@@ -26,8 +26,8 @@
/*
* Min/Max supported width and heights.
*/
-#define MIN_W 176
-#define MIN_H 144
+#define MIN_W 32
+#define MIN_H 32
#define MAX_W 4096
#define MAX_H 4096
#define W_ALIGN 4 /* multiple of 16 pixels */