diff options
author | Fabio Estevam <festevam@gmail.com> | 2020-11-27 17:09:45 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-12-03 08:53:44 +0100 |
commit | 9fe46e7946fca0e9444c1481fec01e7bdcf636ea (patch) | |
tree | b6d3ada86c7a736d73d7fb3b68a7c7738852ff09 /drivers | |
parent | dfb5d32897167cc4e6c833d3d360b48cd9343d5e (diff) |
media: staging/imx: Increase IMX_MEDIA_EOF_TIMEOUT
When trying to capture video on a imx6dl-based board with an ADV7280,
the following timeout error is observed:
v4l2-ctl --stream-mmap -d /dev/video2
[ 22.792049] ipu1_csi1: EOF timeout
VIDIOC_DQBUF: failed: Input/output error
Increase the IMX_MEDIA_EOF_TIMEOUT to avoid such problem.
Signed-off-by: Fabio Estevam <festevam@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')
-rw-r--r-- | drivers/staging/media/imx/imx-media.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/imx/imx-media.h b/drivers/staging/media/imx/imx-media.h index f17135158029..c8b6a43d0d7c 100644 --- a/drivers/staging/media/imx/imx-media.h +++ b/drivers/staging/media/imx/imx-media.h @@ -65,7 +65,7 @@ enum { }; /* How long to wait for EOF interrupts in the buffer-capture subdevs */ -#define IMX_MEDIA_EOF_TIMEOUT 1000 +#define IMX_MEDIA_EOF_TIMEOUT 2000 struct imx_media_pixfmt { /* the in-memory FourCC pixel format */ |