[PATCH 2/2] drm/stm: Fixup for "drm/stm: ltdc: Add panel-bridge support"
From: Eric Anholt
Date: Thu Jun 22 2017 - 13:56:50 EST
Signed-off-by: Eric Anholt <eric@xxxxxxxxxx>
---
This fixup would be squashed into patch 1 of your series.
drivers/gpu/drm/stm/ltdc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
index 7d7e889f09c3..d1d28348512b 100644
--- a/drivers/gpu/drm/stm/ltdc.c
+++ b/drivers/gpu/drm/stm/ltdc.c
@@ -953,7 +953,8 @@ int ltdc_load(struct drm_device *ddev)
bridge = drm_panel_bridge_add(panel, DRM_MODE_CONNECTOR_DPI);
if (IS_ERR(bridge)) {
DRM_ERROR("Failed to create panel-bridge\n");
- return PTR_ERR(bridge);
+ ret = PTR_ERR(bridge);
+ goto err;
}
ldev->is_panel_bridge = true;
}
--
2.11.0