Skip to content

Commit 20af6be

Browse files
Jacopo Mondimchehab
authored andcommitted
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>
1 parent 2bab944 commit 20af6be

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,6 @@ void mxc_isi_channel_enable(struct mxc_isi_pipe *pipe)
515515
mxc_isi_write(pipe, CHNL_CTRL, val);
516516

517517
mutex_unlock(&pipe->lock);
518-
519-
msleep(300);
520518
}
521519

522520
void mxc_isi_channel_disable(struct mxc_isi_pipe *pipe)

0 commit comments

Comments
 (0)