提交 07c8bdd7 编写于 作者: T Tomasz Stanislawski 提交者: Inki Dae

drm: exynos: hdmi: fix interrupt handling

This patch fixes 'unsigned < 0' check in probe. Moreover it
releases an interrupt at remove.
Signed-off-by: NTomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: NInki Dae <inki.dae@samsung.com>
上级 c119ed05
...@@ -64,8 +64,8 @@ struct hdmi_context { ...@@ -64,8 +64,8 @@ struct hdmi_context {
struct mutex hdmi_mutex; struct mutex hdmi_mutex;
void __iomem *regs; void __iomem *regs;
unsigned int external_irq; int external_irq;
unsigned int internal_irq; int internal_irq;
struct i2c_client *ddc_port; struct i2c_client *ddc_port;
struct i2c_client *hdmiphy_port; struct i2c_client *hdmiphy_port;
...@@ -2424,6 +2424,7 @@ static int __devexit hdmi_remove(struct platform_device *pdev) ...@@ -2424,6 +2424,7 @@ static int __devexit hdmi_remove(struct platform_device *pdev)
pm_runtime_disable(dev); pm_runtime_disable(dev);
free_irq(hdata->internal_irq, hdata); free_irq(hdata->internal_irq, hdata);
free_irq(hdata->external_irq, hdata);
hdmi_resources_cleanup(hdata); hdmi_resources_cleanup(hdata);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册