summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-02-14 17:35:39 +0000
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-04-16 07:38:01 +0100
commit20af6be6bee4c3af80aac9b44b3d32d89824dde7 (patch)
treeff3b859fa798825bf3067bd0372ca1e2f89191d6 /drivers/media
parent2bab9442b85665c1f52062dca6a5623dffc18272 (diff)
downloadlinux-stable-20af6be6bee4c3af80aac9b44b3d32d89824dde7.tar.gz
linux-stable-20af6be6bee4c3af80aac9b44b3d32d89824dde7.tar.bz2
linux-stable-20af6be6bee4c3af80aac9b44b3d32d89824dde7.zip
media: nxp: imx8-isi: Remove 300ms sleep after enabling channel
The current implementation of the mxc_isi_channel_enable() function has a hard 300ms sleep. This was copied from the NXP BSP, which has since dropped the sleep in a commit that implied the delay was meant to wait for the sensor to be "stable". As the sensor is started after the ISI, the delay won't affect sensor operation. Drop it. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c b/drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
index be12d0d2f42f..db538f3d88ec 100644
--- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
+++ b/drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
@@ -515,8 +515,6 @@ void mxc_isi_channel_enable(struct mxc_isi_pipe *pipe)
mxc_isi_write(pipe, CHNL_CTRL, val);
mutex_unlock(&pipe->lock);
-
- msleep(300);
}
void mxc_isi_channel_disable(struct mxc_isi_pipe *pipe)