All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
To: "Aguirre, Sergio" <saaguirre@ti.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: [omap3camera] Camera bring-up on Zoom3 (OMAP3630)
Date: Wed, 17 Mar 2010 22:23:43 +0200	[thread overview]
Message-ID: <4BA13A4F.8070808@maxwell.research.nokia.com> (raw)
In-Reply-To: <A24693684029E5489D1D202277BE894454137189@dlee02.ent.ti.com>

Aguirre, Sergio wrote:
>> What exactly does not work?
> 
> Ok, let me explain:
> 
> In my boardfile, I have:
> 
> static struct omap34xxcam_platform_data zoom_camera_pdata = {
> 	.isp			= &omap3isp_device,
> 	.subdevs[0] = zoom_camera_primary_subdevs,
> 	.sensors[0] = {
> 		.capture_mem = IMX046_BIGGEST_FRAME_BYTE_SIZE * 2,
> 		.ival_default	= { 1, 10 },
> 	},
> };
> 
> As I only have 1 sensor.
> 
> However, when omap34xxcam_probe runs, it loops through pdata->subdevs[i], in which 'i' goes from 0 to OMAP34XXCAM_VIDEODEVS - 1.
> 
> And this is what generates an "oops" message in the driver.

Ok, now I get it. Thanks. :-)

-- 
Sakari Ailus
sakari.ailus@maxwell.research.nokia.com

      reply	other threads:[~2010-03-17 20:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05 14:54 [omap3camera] Camera bring-up on Zoom3 (OMAP3630) Aguirre, Sergio
2010-03-16 22:30 ` Laurent Pinchart
2010-03-17 13:52   ` Aguirre, Sergio
2010-03-17 14:14     ` Laurent Pinchart
2010-03-17 14:16       ` Sakari Ailus
2010-03-17 14:23         ` Laurent Pinchart
2010-03-17 14:23         ` Aguirre, Sergio
2010-03-17 14:58           ` Sakari Ailus
2010-03-17 15:04             ` Aguirre, Sergio
2010-03-17 20:23               ` Sakari Ailus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BA13A4F.8070808@maxwell.research.nokia.com \
    --to=sakari.ailus@maxwell.research.nokia.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=saaguirre@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.