diff options
author | Thierry Reding <treding@nvidia.com> | 2013-09-03 08:50:39 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-09-03 10:10:11 +0200 |
commit | 03c961ba6d04786c8a7e7df118538a01f442e90b (patch) | |
tree | b2f2a2fdce603585275f87a25934bddb8fc7d310 /drivers/parport/parport_gsc.h | |
parent | 745cecc07cee878a5afdda40d13f8b0901a88ebd (diff) | |
download | kernel_goldelico_gta04-03c961ba6d04786c8a7e7df118538a01f442e90b.zip kernel_goldelico_gta04-03c961ba6d04786c8a7e7df118538a01f442e90b.tar.gz kernel_goldelico_gta04-03c961ba6d04786c8a7e7df118538a01f442e90b.tar.bz2 |
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: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/parport/parport_gsc.h')
0 files changed, 0 insertions, 0 deletions