projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f77e9
)
rk3036 hdmi: init hdmi before request irq
author
hjc
<hjc@rock-chips.com>
Tue, 15 Jul 2014 01:05:29 +0000
(09:05 +0800)
committer
hjc
<hjc@rock-chips.com>
Tue, 15 Jul 2014 01:06:02 +0000
(09:06 +0800)
drivers/video/rockchip/hdmi/chips/rk616/rk616_hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/hdmi/chips/rk616/rk616_hdmi.c
b/drivers/video/rockchip/hdmi/chips/rk616/rk616_hdmi.c
index c205afec9d132ca5dbc011fb003ff2fff1d398ed..1a5f5be79ecd45eb6965bb58788540601687288a 100755
(executable)
--- a/
drivers/video/rockchip/hdmi/chips/rk616/rk616_hdmi.c
+++ b/
drivers/video/rockchip/hdmi/chips/rk616/rk616_hdmi.c
@@
-388,6
+388,8
@@
static int rk616_hdmi_probe(struct platform_device *pdev)
ret);
goto err2;
}
+ if (rk616_hdmi_drv_init(hdmi_drv))
+ goto err0;
/* get the IRQ */
hdmi_drv->irq = platform_get_irq(pdev, 0);
@@
-426,6
+428,8
@@
static int rk616_hdmi_probe(struct platform_device *pdev)
ret = -ENXIO;
goto err1;
}
+ if (rk616_hdmi_drv_init(hdmi_drv))
+ goto err0;
/* request the IRQ */
ret = devm_request_irq(hdmi_drv->dev, hdmi_drv->irq,
@@
-443,8
+447,6
@@
static int rk616_hdmi_probe(struct platform_device *pdev)
}
#endif
- if (rk616_hdmi_drv_init(hdmi_drv))
- goto err0;
//rk616_hdmi_work(hdmi_drv);