From: Liu Ying Date: Thu, 30 Aug 2012 01:33:01 +0000 (+0800) Subject: ENGR00221983 IPUv3:Correct ERR and SYNC interrupt line numbers X-Git-Tag: v3.0.35-fsl~516 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0aa21561a6aff5d0793102059cf0f8dabe7cfa0f;p=karo-tx-linux.git ENGR00221983 IPUv3:Correct ERR and SYNC interrupt line numbers As we define ERR interrupt with 0 irq resource id and SYNC interrupt with 1 irq resource id in platform-imx_ipuv3.c, we wrongly assign them in IPUv3 driver. Signed-off-by: Liu Ying (cherry picked from commit 52c9fc323e0f72e53de6fe0c6f7012fe7adf14b4) --- diff --git a/drivers/mxc/ipu3/ipu_common.c b/drivers/mxc/ipu3/ipu_common.c index c97d15999301..ae8b4ed93699 100644 --- a/drivers/mxc/ipu3/ipu_common.c +++ b/drivers/mxc/ipu3/ipu_common.c @@ -248,8 +248,8 @@ static int __devinit ipu_probe(struct platform_device *pdev) if (plat_data->init) plat_data->init(pdev->id); - ipu->irq_sync = platform_get_irq(pdev, 0); - ipu->irq_err = platform_get_irq(pdev, 1); + ipu->irq_err = platform_get_irq(pdev, 0); + ipu->irq_sync = platform_get_irq(pdev, 1); res = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (!res || ipu->irq_sync < 0 || ipu->irq_err < 0) {