summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/ipu-v3/ipu-common.c
diff options
context:
space:
mode:
authorDave Airlie2014-10-07 06:31:14 +0200
committerDave Airlie2014-10-07 06:31:14 +0200
commit46d987af7649ef9b2f1d1467b9249fb6e24d2658 (patch)
treed46ecf4acfb9a84622acaf227d5707d54b34e7fd /drivers/gpu/ipu-v3/ipu-common.c
parentMerge tag 'topic/core-stuff-2014-10-03' of git://anongit.freedesktop.org/drm-... (diff)
parentgpu: ipu-v3: Kconfig: Remove SOC_IMX6SL from IMX_IPUV3_CORE Kconfig (diff)
downloadkernel-qcow2-linux-46d987af7649ef9b2f1d1467b9249fb6e24d2658.tar.gz
kernel-qcow2-linux-46d987af7649ef9b2f1d1467b9249fb6e24d2658.tar.xz
kernel-qcow2-linux-46d987af7649ef9b2f1d1467b9249fb6e24d2658.zip
Merge tag 'ipu-fixes-3.18' of git://git.pengutronix.de/git/pza/linux into drm-next
IPUv3 fixes for v3.18 * tag 'ipu-fixes-3.18' of git://git.pengutronix.de/git/pza/linux: gpu: ipu-v3: Kconfig: Remove SOC_IMX6SL from IMX_IPUV3_CORE Kconfig gpu: ipu-v3: ipu-smfc: Do not leave DEBUG defined gpu: ipu-v3: Return proper error on ipu_add_client_devices error path gpu: ipu-v3: Select GENERIC_IRQ_CHIP to fix build error
Diffstat (limited to 'drivers/gpu/ipu-v3/ipu-common.c')
-rw-r--r--drivers/gpu/ipu-v3/ipu-common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/ipu-v3/ipu-common.c b/drivers/gpu/ipu-v3/ipu-common.c
index df65d2bca522..f707d25ae78f 100644
--- a/drivers/gpu/ipu-v3/ipu-common.c
+++ b/drivers/gpu/ipu-v3/ipu-common.c
@@ -1060,8 +1060,10 @@ static int ipu_add_client_devices(struct ipu_soc *ipu, unsigned long ipu_base)
id++, &reg->pdata, sizeof(reg->pdata));
}
- if (IS_ERR(pdev))
+ if (IS_ERR(pdev)) {
+ ret = PTR_ERR(pdev);
goto err_register;
+ }
}
return 0;