[PATCH 5.4 117/408] drm/gma500: fix error check