diff options
| -rw-r--r-- | drivers/staging/imx-drm/imx-drm-core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/imx-drm/imx-drm-core.c b/drivers/staging/imx-drm/imx-drm-core.c index bc7f8bd227c7..c270c9ae6d27 100644 --- a/drivers/staging/imx-drm/imx-drm-core.c +++ b/drivers/staging/imx-drm/imx-drm-core.c | |||
| @@ -675,6 +675,11 @@ static int imx_drm_platform_probe(struct platform_device *pdev) | |||
| 675 | if (!remote || !of_device_is_available(remote)) { | 675 | if (!remote || !of_device_is_available(remote)) { |
| 676 | of_node_put(remote); | 676 | of_node_put(remote); |
| 677 | continue; | 677 | continue; |
| 678 | } else if (!of_device_is_available(remote->parent)) { | ||
| 679 | dev_warn(&pdev->dev, "parent device of %s is not available\n", | ||
| 680 | remote->full_name); | ||
| 681 | of_node_put(remote); | ||
| 682 | continue; | ||
| 678 | } | 683 | } |
| 679 | 684 | ||
| 680 | ret = imx_drm_add_component(&pdev->dev, remote); | 685 | ret = imx_drm_add_component(&pdev->dev, remote); |
