diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-01-27 10:54:12 -0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-01-28 10:01:21 +0100 |
commit | b33ef61970873d479f4273f36d7a516cd94167e1 (patch) | |
tree | 9e127a18655dc8e95fb48ad91a2a727908ec728e /drivers | |
parent | 944579c5a474e5faffd3ff2ee0e45eb7c53c3fd3 (diff) |
drm/bridge: dw-hdmi: Fix return error path
If devm_request_threaded_irq() fails we should jump to 'err_iahb' label that
will disable the clocks that were previously enabled.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/bridge/dw_hdmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/dw_hdmi.c b/drivers/gpu/drm/bridge/dw_hdmi.c index 6ea000504173..cb1dbb1aca16 100644 --- a/drivers/gpu/drm/bridge/dw_hdmi.c +++ b/drivers/gpu/drm/bridge/dw_hdmi.c @@ -1649,7 +1649,7 @@ int dw_hdmi_bind(struct device *dev, struct device *master, dw_hdmi_irq, IRQF_SHARED, dev_name(dev), hdmi); if (ret) - return ret; + goto err_iahb; /* * To prevent overflows in HDMI_IH_FC_STAT2, set the clk regenerator |