9
0
Fork 0

video/stm: enable clock to get the display working

else the clock is not enabled :
        ref_pix (rate 270000000, disabled)
            lcdif_sel (rate 270000000, disabled)
                lcdif_div (rate 33750000, disabled)
                    lcdif (rate 33750000, disabled)
                        lcdif_comp (rate 33750000, disabled)

tested on i.MX28EVK.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Eric Bénard 2013-09-10 19:13:34 +02:00 committed by Sascha Hauer
parent f962ae4cd3
commit 6318cfbd9b
1 changed files with 1 additions and 0 deletions

View File

@ -496,6 +496,7 @@ static int stmfb_probe(struct device_d *hw_dev)
fbi.clk = clk_get(hw_dev, NULL);
if (IS_ERR(fbi.clk))
return PTR_ERR(fbi.clk);
clk_enable(fbi.clk);
/* add runtime video info */
fbi.info.mode_list = pdata->mode_list;