diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2012-08-30 09:33:01 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2012-08-30 18:09:00 +0800 |
commit | 52c9fc323e0f72e53de6fe0c6f7012fe7adf14b4 (patch) | |
tree | de9f0283508f649104bbbd3c240ee0ffca08c4fe /drivers | |
parent | a4d0bf3916d2f75a2977869e804d5f4fff4d1d3e (diff) |
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 <Ying.Liu@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mxc/ipu3/ipu_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |