Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307488
b: refs/heads/master
c: ce80a2d
h: refs/heads/master
v: v3
  • Loading branch information
Joonyoung Shim authored and Inki Dae committed May 8, 2012
1 parent 350138b commit a06f5ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ecd34e82ce8d9da0cd99541eac4eaf9dd7eb27e
refs/heads/master: ce80a2d1890063ff2d3b5beb6edac85a2f6c86c4
11 changes: 5 additions & 6 deletions trunk/drivers/gpu/drm/exynos/exynos_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2293,10 +2293,10 @@ static int __devinit hdmi_probe(struct platform_device *pdev)

hdata->hdmiphy_port = hdmi_hdmiphy;

res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
if (res == NULL) {
DRM_ERROR("get interrupt resource failed.\n");
ret = -ENXIO;
hdata->irq = platform_get_irq_byname(pdev, "internal_irq");
if (hdata->irq < 0) {
DRM_ERROR("failed to get platform irq\n");
ret = hdata->irq;
goto err_hdmiphy;
}

Expand All @@ -2311,13 +2311,12 @@ static int __devinit hdmi_probe(struct platform_device *pdev)
INIT_WORK(&hdata->hotplug_work, hdmi_hotplug_func);

/* register hpd interrupt */
ret = request_irq(res->start, hdmi_irq_handler, 0, "drm_hdmi",
ret = request_irq(hdata->irq, hdmi_irq_handler, 0, "drm_hdmi",
drm_hdmi_ctx);
if (ret) {
DRM_ERROR("request interrupt failed.\n");
goto err_workqueue;
}
hdata->irq = res->start;

/* register specific callbacks to common hdmi. */
exynos_hdmi_ops_register(&hdmi_ops);
Expand Down

0 comments on commit a06f5ec

Please sign in to comment.