From: Thierry Reding Date: Tue, 3 Sep 2013 06:50:39 +0000 (+0200) Subject: gpu: host1x: Check for valid host1x pointer X-Git-Tag: v3.12-rc1~136^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03c961ba6d04786c8a7e7df118538a01f442e90b;p=pandora-kernel.git 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 --- Reading git-diff-tree failed