[PATCH] drm/mediatek: fix error handling