diff options
author | Ricardo Neri <ricardo.neri@ti.com> | 2012-11-06 00:19:15 -0600 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-11-06 13:33:36 +0200 |
commit | d18bc45543f5a7571fec2465651c9e88c6d555eb (patch) | |
tree | 72ccf4ff95e0c6023cbaae6dee620a1113a2d392 /drivers/video/omap2/dss/hdmi.c | |
parent | 66a06b0c5997fd45eb22c18e8343a3d3865fd5a1 (diff) | |
download | blackbird-op-linux-d18bc45543f5a7571fec2465651c9e88c6d555eb.tar.gz blackbird-op-linux-d18bc45543f5a7571fec2465651c9e88c6d555eb.zip |
OMAPDSS: HDMI: Uninit display on device add error
The display must be uninitialized in order to free the requested GPIOs.
Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/hdmi.c')
-rw-r--r-- | drivers/video/omap2/dss/hdmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index 31cedbb9f9fd..edc28842b9fd 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c @@ -1025,6 +1025,7 @@ static void __init hdmi_probe_pdata(struct platform_device *pdev) r = dss_add_device(dssdev); if (r) { DSSERR("device %s register failed: %d\n", dssdev->name, r); + hdmi_uninit_display(dssdev); dss_put_device(dssdev); return; } |