lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 6 Mar 2012 15:40:10 +0200
From:	Alex Gershgorin <alexg@...rolight.com>
To:	Alex Gershgorin <alexg@...rolight.com>,
	Guennadi Liakhovetski <g.liakhovetski@....de>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Linux Media Mailing List <linux-media@...r.kernel.org>,
	Sascha Hauer <s.hauer@...gutronix.de>
Subject: RE: mx3-camera


________________________________________
From: Alex Gershgorin
Sent: Tuesday, March 06, 2012 3:22 PM
To: Guennadi Liakhovetski
Cc: linux-kernel@...r.kernel.org; Linux Media Mailing List; Sascha Hauer
Subject: RE: mx3-camera

 Thanks Guennadi,

>Hi Alex

>(adding v4l and Sascha to CC)

>On Tue, 6 Mar 2012, Alex Gershgorin wrote:

> Hi Guennadi,
>
> I'm working on I.MX35 PDK platform with use 3.3.0-rc6 version of the Linux Kernel.
> Here is my Kernel boot message
>
> "Linux video capture interface: v2.00
> mx3-camera: probe of mx3-camera.0 failed with error -2"
>
> This error comes from probe function of mx3 camera host driver.
> Precisely in this part of the code:
>
> mx3_cam->clk = clk_get(&pdev->dev, NULL);
> if (IS_ERR(mx3_cam->clk)) {
>       err = PTR_ERR(mx3_cam->clk);
>       goto eclkget;
> }

>I think, the reason is, that the i.MX35 platform doesn't register a camera
>clock, similar to i.MX31 (arch/arm/mach-imx/clock-imx31.c):

 >       _REGISTER_CLOCK("mx3-camera.0", NULL, csi_clk)

In i.MX35 (arch/arm/mach-imx/clock-imx35.c) it looks like this:
_REGISTER_CLOCK(NULL, "csi", csi_clk)

You were right, it should be  _REGISTER_CLOCK("mx3-camera.0", NULL, csi_clk) 
I checked, now this error not appear  :-) 

> I will be glad for any help.

Regards,
Alex Gershgorin


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists