All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: balbi@ti.com
Cc: linux-media@vger.kernel.org, linux-omap@vger.kernel.org,
	sakari.ailus@maxwell.research.nokia.com
Subject: Re: [PATCH v6 04/10] omap2: Fix camera resources for multiomap
Date: Mon, 14 Feb 2011 14:50:31 +0100	[thread overview]
Message-ID: <201102141450.31975.laurent.pinchart@ideasonboard.com> (raw)
In-Reply-To: <20110214134116.GG2549@legolas.emea.dhcp.ti.com>

Hi Felipe,

On Monday 14 February 2011 14:41:16 Felipe Balbi wrote:
> On Mon, Feb 14, 2011 at 02:19:24PM +0100, Laurent Pinchart wrote:
> > On Monday 14 February 2011 13:35:59 Felipe Balbi wrote:
> > > On Mon, Feb 14, 2011 at 01:21:31PM +0100, Laurent Pinchart wrote:
> > > > diff --git a/arch/arm/mach-omap2/devices.c
> > > > b/arch/arm/mach-omap2/devices.c index 4cf48ea..5d844bd 100644
> > > > --- a/arch/arm/mach-omap2/devices.c
> > > > +++ b/arch/arm/mach-omap2/devices.c
> > > > @@ -38,7 +38,7 @@
> > > > 
> > > >  #if defined(CONFIG_VIDEO_OMAP2) ||
> > > >  defined(CONFIG_VIDEO_OMAP2_MODULE)
> > > > 
> > > > -static struct resource cam_resources[] = {
> > > > +static struct resource omap2cam_resources[] = {
> > > 
> > > should this be __initdata ??
> > 
> > The resources will be used when the OMAP3 ISP module is loaded. Won't
> > they be discared if marked as __initdata ?
> 
> I believe driver core makes a copy of those, no ? not sure.

Not that I know of, but I may be wrong.

> > > > @@ -158,6 +149,14 @@ int omap3_init_camera(void *pdata)
> > > > 
> > > >  }
> > > >  EXPORT_SYMBOL_GPL(omap3_init_camera);
> > > > 
> > > > +static inline void omap_init_camera(void)
> > > 
> > > why inline ? also, should this be marked __init ?
> > 
> > I suppose because it was inline, so it has been kept as inline. The
> > function is used in a single place, so the compiler will probably
> > auto-inline it. Is it an issue to keep it as inline ?
> 
> not really, you can forget about this comment ;-)

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2011-02-14 13:50 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-14 12:21 [PATCH v6 00/10] OMAP3 ISP driver Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 01/10] ARM: OMAP3: Update Camera ISP definitions for OMAP3630 Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 02/10] omap3: Remove unusued ISP CBUFF resource Laurent Pinchart
2011-02-14 12:31   ` Felipe Balbi
2011-02-14 12:59     ` Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 03/10] omap3: Add function to register omap3isp platform device structure Laurent Pinchart
2011-02-14 12:34   ` Felipe Balbi
2011-02-14 13:07     ` Laurent Pinchart
2011-02-14 13:18       ` Felipe Balbi
2011-02-14 15:15         ` David Cohen
2011-02-14 12:21 ` [PATCH v6 04/10] omap2: Fix camera resources for multiomap Laurent Pinchart
2011-02-14 12:35   ` Felipe Balbi
2011-02-14 13:19     ` Laurent Pinchart
2011-02-14 13:41       ` Felipe Balbi
2011-02-14 13:50         ` Laurent Pinchart [this message]
2011-02-14 15:11           ` David Cohen
2011-02-14 12:21 ` [PATCH v6 05/10] omap3isp: OMAP3 ISP core Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 06/10] omap3isp: Video devices and buffers queue Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 07/10] omap3isp: CCP2/CSI2 receivers Laurent Pinchart
2011-02-14 12:37   ` Felipe Balbi
2011-02-14 13:25     ` Laurent Pinchart
2011-02-14 13:32     ` Laurent Pinchart
2011-02-14 12:38   ` Felipe Balbi
2011-02-14 12:21 ` [PATCH v6 08/10] omap3isp: CCDC, preview engine and resizer Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 09/10] omap3isp: Statistics Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 10/10] omap3isp: Kconfig and Makefile Laurent Pinchart
2011-02-14 12:56 ` [PATCH v6 00/10] OMAP3 ISP driver Hans Verkuil

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=201102141450.31975.laurent.pinchart@ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=balbi@ti.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=sakari.ailus@maxwell.research.nokia.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.