diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-11-26 10:26:29 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-11-26 10:26:29 +0200 |
commit | 474ff6b8a79093aea966b6246d5b8000de124da9 (patch) | |
tree | c73caeaeef6d800ca8795687294ed2cbd74607db /drivers/video/omap2/dss/dss.c | |
parent | 9b76c9cdece2b14a23bfddd765f6dac1dd4d0120 (diff) | |
parent | 8ad9375f8b7c709b89f7de4de413bb2644ba3c24 (diff) | |
download | op-kernel-dev-474ff6b8a79093aea966b6246d5b8000de124da9.zip op-kernel-dev-474ff6b8a79093aea966b6246d5b8000de124da9.tar.gz |
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
Diffstat (limited to 'drivers/video/omap2/dss/dss.c')
-rw-r--r-- | drivers/video/omap2/dss/dss.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index df3d89a..6ca69d5 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c @@ -753,11 +753,15 @@ static int dss_get_clocks(void) dss.dss_clk = clk; - clk = clk_get(NULL, dss.feat->clk_name); - if (IS_ERR(clk)) { - DSSERR("Failed to get %s\n", dss.feat->clk_name); - r = PTR_ERR(clk); - goto err; + if (dss.feat->clk_name) { + clk = clk_get(NULL, dss.feat->clk_name); + if (IS_ERR(clk)) { + DSSERR("Failed to get %s\n", dss.feat->clk_name); + r = PTR_ERR(clk); + goto err; + } + } else { + clk = NULL; } dss.dpll4_m4_ck = clk; |