diff options
author | Eric Bénard <eric@eukrea.com> | 2013-09-10 19:13:34 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-10 21:03:59 +0200 |
commit | 6318cfbd9bec0c48e7c59fadc2ebe7d1983c499d (patch) | |
tree | 5b6e5c8b043f466ceed7c54bccb8fc9e9c12710b /drivers/video | |
parent | f962ae4cd3b9dc89fd3b94935a3242ffb322b308 (diff) | |
download | barebox-6318cfbd9bec0c48e7c59fadc2ebe7d1983c499d.tar.gz barebox-6318cfbd9bec0c48e7c59fadc2ebe7d1983c499d.tar.xz |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/stm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/stm.c b/drivers/video/stm.c index 2603129186..fdeaf9c645 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; |