drm/rockchip: Using get device function to get display device.
If the uclass_find_device_by_of_offset display device probe function won't be called. Display device's pinctrl will not take effect. SO we use uclass_get_device_by_of_offset to get display device. Change-Id: I1329eb5b5ffca7609dfc52bcc5623476f99bc8b0 Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
parent
f5e7d25111
commit
8f7c31646f
|
|
@ -918,7 +918,7 @@ static int rockchip_display_probe(struct udevice *dev)
|
|||
fdt_get_name(blob, child, NULL));
|
||||
continue;
|
||||
}
|
||||
ret = uclass_find_device_by_of_offset(UCLASS_DISPLAY, conn_node, &conn_dev);
|
||||
ret = uclass_get_device_by_of_offset(UCLASS_DISPLAY, conn_node, &conn_dev);
|
||||
if (ret) {
|
||||
printf("Warn: %s: can't find connector driver\n",
|
||||
fdt_get_name(blob, child, NULL));
|
||||
|
|
|
|||
Loading…
Reference in New Issue