Clock problems in i.MX27 Visstrim M10 (linux-3.5-rc5).

Sascha Hauer s.hauer at pengutronix.de
Wed Jul 4 03:11:59 EDT 2012


On Tue, Jul 03, 2012 at 01:09:52PM +0200, javier Martin wrote:
> Hi,
> I've found the following problems in linux-3.5-rc5
> (6887a4131da3adaab011613776d865f4bcfb5678) in our Visstrim M10 board:
> 
> At boot:
> 
> Moreover, the following 'clk_get()' fails in mx2_camera.c driver:
> 
> 	pcdev->clk_emma = clk_get(NULL, "emma");
> 	if (IS_ERR(pcdev->clk_emma)) {
> 		err = PTR_ERR(pcdev->clk_emma);
> 		goto exit_free_irq;
> 	}
> 
> 
> I know you guys have been doing some hard deep job with the clocks in
> the i.MX. I've tried a bisect but it's highly thedious since there are
> a lot of commits that do not compile:
> 

[...]

> Do you have any hints of what could have been broken? I'll keep on
> searching meanwhile.

Mainly these two problems exist:

- missing clk_prepare (or clk_prepare_enable)
- missing (or mismatching) clk_register_clkdev

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list