[PATCH 4/4] video/stm: enable clock to get the display working

Eric Bénard eric at eukrea.com
Tue Sep 10 13:13:34 EDT 2013


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 at eukrea.com>
---
 drivers/video/stm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/stm.c b/drivers/video/stm.c
index 2603129..fdeaf9c 100644
--- a/drivers/video/stm.c
+++ b/drivers/video/stm.c
@@ -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;
-- 
1.8.3.1




More information about the barebox mailing list