projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading
[deliverable/linux.git]
/
drivers
/
gpu
/
ipu-v3
/
ipu-common.c
diff --git
a/drivers/gpu/ipu-v3/ipu-common.c
b/drivers/gpu/ipu-v3/ipu-common.c
index e00db3f510dd425c62565d913c937c5638a072d5..abb98c77bad25c6901b910095068a3aec5059311 100644
(file)
--- a/
drivers/gpu/ipu-v3/ipu-common.c
+++ b/
drivers/gpu/ipu-v3/ipu-common.c
@@
-1068,7
+1068,6
@@
static int ipu_add_client_devices(struct ipu_soc *ipu, unsigned long ipu_base)
goto err_register;
}
goto err_register;
}
- pdev->dev.of_node = of_node;
pdev->dev.parent = dev;
ret = platform_device_add_data(pdev, ®->pdata,
pdev->dev.parent = dev;
ret = platform_device_add_data(pdev, ®->pdata,
@@
-1079,6
+1078,12
@@
static int ipu_add_client_devices(struct ipu_soc *ipu, unsigned long ipu_base)
platform_device_put(pdev);
goto err_register;
}
platform_device_put(pdev);
goto err_register;
}
+
+ /*
+ * Set of_node only after calling platform_device_add. Otherwise
+ * the platform:imx-ipuv3-crtc modalias won't be used.
+ */
+ pdev->dev.of_node = of_node;
}
return 0;
}
return 0;
This page took
0.025094 seconds
and
5
git commands to generate.