[PATCH 5.10 104/317] drm/arm/malidp: fix a possible null pointer dereference