diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-10-15 07:53:52 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-15 19:00:56 +0900 |
commit | c44f9f76d26c3b5158c65201d30e96393efe2fbd (patch) | |
tree | ea66fc950cc090085f5242d8a8bcbed3ac2c0cd0 /drivers/video/sh_mobile_hdmi.c | |
parent | 69ce8aa4925a54de192cf64e99abd294586c1984 (diff) | |
download | linux-next-c44f9f76d26c3b5158c65201d30e96393efe2fbd.tar.gz |
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) goto egetclk; } - rate = sh_hdmi_clk_configure(hdmi, pdata->lcd_chan->lcd_cfg[0].pixclock); + /* Some arbitrary relaxed pixclock just to get things started */ + rate = sh_hdmi_clk_configure(hdmi, 37037); if (rate < 0) { ret = rate; goto erate; |