diff --git a/drivers/base/component.c b/drivers/base/component.c index f748430bb654..6564168e5513 100644 --- a/drivers/base/component.c +++ b/drivers/base/component.c @@ -186,7 +186,7 @@ static int try_to_bring_up_master(struct master *master, ret = master->ops->bind(master->dev); if (ret < 0) { devres_release_group(master->dev, NULL); - dev_info(master->dev, "master bind failed: %d\n", ret); + dev_err(master->dev, "master bind failed: %d\n", ret); goto out; } @@ -401,7 +401,7 @@ static int component_bind(struct component *component, struct master *master, return -ENOMEM; } - dev_dbg(master->dev, "binding %s (ops %ps)\n", + dev_err(master->dev, "binding %s (ops %ps)\n", dev_name(component->dev), component->ops); ret = component->ops->bind(component->dev, master->dev, data); @@ -417,7 +417,7 @@ static int component_bind(struct component *component, struct master *master, devres_close_group(component->dev, NULL); devres_remove_group(master->dev, NULL); - dev_info(master->dev, "bound %s (ops %ps)\n", + dev_err(master->dev, "bound %s (ops %ps)\n", dev_name(component->dev), component->ops); } else { devres_release_group(component->dev, NULL); @@ -470,7 +470,7 @@ int component_add(struct device *dev, const struct component_ops *ops) component->ops = ops; component->dev = dev; - dev_dbg(dev, "adding component (ops %ps)\n", ops); + dev_err(dev, "adding component (ops %ps)\n", ops); mutex_lock(&component_mutex); list_add_tail(&component->node, &component_list); diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c index 0520bde44e5a..7ce52522821f 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c @@ -1832,6 +1832,7 @@ static void rockchip_add_endpoints(struct device *dev, continue; } + dev_err(dev, "component_match_add %s\n", remote->full_name); component_match_add(dev, match, compare_of, remote); of_node_put(remote); } @@ -1881,6 +1882,7 @@ static int rockchip_drm_platform_probe(struct platform_device *pdev) is_support_iommu = false; } + dev_err(dev, "component_match_add %s\n", port->parent->full_name); component_match_add(dev, &match, compare_of, port->parent); of_node_put(port); } @@ -1914,6 +1916,7 @@ static int rockchip_drm_platform_probe(struct platform_device *pdev) port = of_parse_phandle(np, "backlight", 0); if (port && of_device_is_available(port)) { + dev_err(dev, "component_match_add %s\n", port->full_name); component_match_add(dev, &match, compare_of, port); of_node_put(port); }