Skip to content
Commit 03c961ba authored by Thierry Reding's avatar Thierry Reding
Browse files

gpu: host1x: Check for valid host1x pointer



Under rare circumstances it can happen that the host1x driver's .probe()
doesn't finish properly, in which case the device's driver-specific data
will not be set. Instead of crashing in such a situation, propagate the
error to callers of the host1x_get_drm_data() function.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 745cecc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment