diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-10-15 03:53:52 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-15 06:00:56 -0400 |
commit | c44f9f76d26c3b5158c65201d30e96393efe2fbd (patch) | |
tree | ea66fc950cc090085f5242d8a8bcbed3ac2c0cd0 /drivers/video/sh_mobile_hdmi.c | |
parent | 69ce8aa4925a54de192cf64e99abd294586c1984 (diff) |
fbdev: sh_mobile_lcdc: make platform videomode table optional
Add a default 720p mode to the sh_mobile_lcdc driver to be used, when no
videomode is specified in the platform data. This can be used, e.g., with HDMI.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/sh_mobile_hdmi.c')
-rw-r--r-- | drivers/video/sh_mobile_hdmi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/sh_mobile_hdmi.c b/drivers/video/sh_mobile_hdmi.c index 4d6ab86e9518..94a94fde2c67 100644 --- a/drivers/video/sh_mobile_hdmi.c +++ b/drivers/video/sh_mobile_hdmi.c | |||
@@ -1051,7 +1051,8 @@ static int __init sh_hdmi_probe(struct platform_device *pdev) | |||
1051 | goto egetclk; | 1051 | goto egetclk; |
1052 | } | 1052 | } |
1053 | 1053 | ||
1054 | rate = sh_hdmi_clk_configure(hdmi, pdata->lcd_chan->lcd_cfg[0].pixclock); | 1054 | /* Some arbitrary relaxed pixclock just to get things started */ |
1055 | rate = sh_hdmi_clk_configure(hdmi, 37037); | ||
1055 | if (rate < 0) { | 1056 | if (rate < 0) { |
1056 | ret = rate; | 1057 | ret = rate; |
1057 | goto erate; | 1058 | goto erate; |