From: Tim Harvey Date: Fri, 3 Apr 2015 16:59:57 -0700 Subject: [U-Boot] [PATCH] imx: ipu: fix occasional hang following disabling of channel Message-ID: <1428105597-15216-1-git-send-email-tharvey@gateworks.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de It has been observed that some IMX6SDL SoC will hang appx 0.1% of boots between disabling the ipu channel and disabling DMA preceeding an OS boot unless an extra delay is added here. The specific cause is still under investigation. Signed-off-by: Tim Harvey --- drivers/video/ipu_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/ipu_common.c b/drivers/video/ipu_common.c index 5873531..3c1bbbb 100644 --- a/drivers/video/ipu_common.c +++ b/drivers/video/ipu_common.c @@ -1109,6 +1109,7 @@ int32_t ipu_disable_channel(ipu_channel_t channel) if ((channel == MEM_BG_SYNC) || (channel == MEM_FG_SYNC) || (channel == MEM_DC_SYNC)) { ipu_dp_dc_disable(channel, 0); + mdelay(50); } /* Disable DMA channel(s) */ -- 1.9.1