Skip to contentSkip to conversation

media: staging/imx: Increase IMX_MEDIA_EOF_TIMEOUT

PATCH New Fabio Estevam 1 participant 1 message Nov 27, 2020

Subsystems (4)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 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.

---
 drivers/staging/media/imx/imx-media.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/imx/imx-media.h +1 -1
index f17135158029..c8b6a43d0d7c 100644
@@ -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 */
Signature · 1 line
2.17.1