Commit 474ff6b8 authored by Tomi Valkeinen's avatar Tomi Valkeinen

Merge tag 'omapdss-for-3.7-rc' of git://gitorious.org/linux-omap-dss2/linux

omapdss fixes for 3.7-rc

Conflicts:
	drivers/video/omap2/dss/dss.c
parents 9b76c9cd 8ad9375f
...@@ -753,11 +753,15 @@ static int dss_get_clocks(void) ...@@ -753,11 +753,15 @@ static int dss_get_clocks(void)
dss.dss_clk = clk; dss.dss_clk = clk;
clk = clk_get(NULL, dss.feat->clk_name); if (dss.feat->clk_name) {
if (IS_ERR(clk)) { clk = clk_get(NULL, dss.feat->clk_name);
DSSERR("Failed to get %s\n", dss.feat->clk_name); if (IS_ERR(clk)) {
r = PTR_ERR(clk); DSSERR("Failed to get %s\n", dss.feat->clk_name);
goto err; r = PTR_ERR(clk);
goto err;
}
} else {
clk = NULL;
} }
dss.dpll4_m4_ck = clk; dss.dpll4_m4_ck = clk;
......
...@@ -787,7 +787,7 @@ int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg) ...@@ -787,7 +787,7 @@ int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg)
case OMAPFB_WAITFORVSYNC: case OMAPFB_WAITFORVSYNC:
DBG("ioctl WAITFORVSYNC\n"); DBG("ioctl WAITFORVSYNC\n");
if (!display && !display->output && !display->output->manager) { if (!display || !display->output || !display->output->manager) {
r = -EINVAL; r = -EINVAL;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment