aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorowen <[email protected]>2022-01-17 10:09:49 +0000
committerRobert Foss <[email protected]>2022-01-17 15:39:30 +0000
commit269332997a160b3785690a32d2c5496bce7dae51 (patch)
treec111914e506b8f1925cbc5722a917b0f4066c605 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/dp: Move DisplayPort AUX bus helpers into dp/ (diff)
downloadkernel-269332997a160b3785690a32d2c5496bce7dae51.tar.gz
kernel-269332997a160b3785690a32d2c5496bce7dae51.zip
drm/bridge: anx7625: Return -EPROBE_DEFER if the dsi host was not found
It will connect to the mipi dsi host and find the corresponding mipi dsi host node, but the node registered by the mipi dsi host has not been loaded yet. of_find_mipi_dsi_host_by_node() returns -EINVAL which causes the calling driver to fail. If the anx7625 driver is loaded afterwards the driver requesting the mipi dsi host will not notice this. Better approach is to return -EPROBE_DEFER in such case. Then when the anx7625 driver appears the driver requesting the mipi dsi host will be probed again. Signed-off-by: owen <[email protected]> Signed-off-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Robert Foss <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions