projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/panel: Delete panel on mipi_dsi_attach() failure
[linux-2.6-block.git]
/
drivers
/
gpu
/
drm
/
panel
/
panel-samsung-s6e88a0-ams452ef01.c
diff --git
a/drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c
b/drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c
index ea63799ff2a1e427fc872282e97f573e5e97ec5d..29fde3823212bf8715d7876c4eb781fb2ae02217 100644
(file)
--- a/
drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c
+++ b/
drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c
@@
-247,6
+247,7
@@
static int s6e88a0_ams452ef01_probe(struct mipi_dsi_device *dsi)
ret = mipi_dsi_attach(dsi);
if (ret < 0) {
dev_err(dev, "Failed to attach to DSI host: %d\n", ret);
+ drm_panel_remove(&ctx->panel);
return ret;
}