diff options
author | Richard Liu <r66033@freescale.com> | 2013-09-25 18:59:29 +0800 |
---|---|---|
committer | Richard Liu <r66033@freescale.com> | 2013-09-25 18:59:29 +0800 |
commit | 7c350c76f8c90b67d98f404007a2c310b50909ab (patch) | |
tree | a3072d3b96ec6b84b889844e169014851d70e642 | |
parent | fa858cf55ac490f4ebd4ee5e2b532b3676231f5e (diff) |
ENGR00278899: IPU: fix screen black issue on mx6dq
black screen occurs sometimes during 720p recording
when wifi display enable and WFD source is HDMI 720p
or 1080p output. This patch is a workaround to fix
IPU CSC done on IPU0.
console log is below when black screen happen:
imx-ipuv3 imx-ipuv3.1: IPU Warning - IPU_INT_STAT_10 = 0x00080000
imx-ipuv3 imx-ipuv3.1: IPU Warning - IPU_INT_STAT_5 = 0x00800000
imx-ipuv3 imx-ipuv3.1: IPU Warning - IPU_INT_STAT_5 = 0x00800000
Signed-off-by: Richard Liu <r66033@freescale.com>
Acked-by: Jason Liu
-rw-r--r-- | drivers/mxc/ipu3/ipu_common.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mxc/ipu3/ipu_common.c b/drivers/mxc/ipu3/ipu_common.c index e914a9b7baa3..ee72c7ae504a 100644 --- a/drivers/mxc/ipu3/ipu_common.c +++ b/drivers/mxc/ipu3/ipu_common.c @@ -371,7 +371,8 @@ static int __devinit ipu_probe(struct platform_device *pdev) if (!plat_data->bypass_reset) clk_disable(ipu->ipu_clk); - register_ipu_device(ipu, pdev->id); + if (pdev->id == 0) + register_ipu_device(ipu, pdev->id); ipu->online = true; @@ -407,7 +408,8 @@ int __devexit ipu_remove(struct platform_device *pdev) { struct ipu_soc *ipu = platform_get_drvdata(pdev); - unregister_ipu_device(ipu, pdev->id); + if (pdev->id == 0) + unregister_ipu_device(ipu, pdev->id); free_irq(ipu->irq_sync, ipu); free_irq(ipu->irq_err, ipu); |