All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Cc: linux-media@vger.kernel.org,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Benoit Parrot <bparrot@ti.com>
Subject: Re: [PATCH 2/2] media: i2c: Add OV1063x sensor driver
Date: Thu, 14 Jan 2021 07:32:08 +0200	[thread overview]
Message-ID: <X//XWJ5NG/FGjUf/@pendragon.ideasonboard.com> (raw)
In-Reply-To: <4aede7cc-13b9-5df6-cf50-891ac6779822@ideasonboard.com>

Hi Tomi,

On Tue, Jan 12, 2021 at 03:32:30PM +0200, Tomi Valkeinen wrote:
> On 04/01/2021 07:39, Laurent Pinchart wrote:
> > Add a new V4L2 subdev driver for the OmniVision OV10633 and OV10635
> > camera sensors. The work is based on the driver from the TI BSP, itself
> > based on original work by Phil Edworthy posted to the linux-media
> > mailing list ([1]). This version of the code is a large rewrite of many
> > parts.
> > 
> > [1] http://www.spinics.net/lists/linux-media/msg64347.html
> > 
> > Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
> > Signed-off-by: Benoit Parrot <bparrot@ti.com>
> > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > ---
> 
> <snip>
> 
> > +static int ov1063x_remove(struct i2c_client *client)
> > +{
> > +	struct ov1063x_priv *priv = i2c_get_clientdata(client);
> 
> This should be
> 
> 	struct v4l2_subdev *sd = i2c_get_clientdata(client);
> 	struct ov1063x_priv *priv = to_ov1063x(sd);
> 
> Let me guess, you never tried as a module? ;)

I don't know what you're talking about, I load the driver as a module.
The trick is to never unload it ;-)

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2021-01-14  5:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-04  5:39 [PATCH 0/2] media: Driver for OV1063x camera sensor Laurent Pinchart
2021-01-04  5:39 ` [PATCH 1/2] dt-bindings: media: Add bindings for OmniVision OV1063x sensors Laurent Pinchart
2021-01-05 17:49   ` Rob Herring
2021-01-12  9:31   ` Tomi Valkeinen
2021-01-04  5:39 ` [PATCH 2/2] media: i2c: Add OV1063x sensor driver Laurent Pinchart
2021-01-04 11:41   ` Sakari Ailus
2021-01-04 13:56     ` Laurent Pinchart
2021-12-06 22:23     ` Laurent Pinchart
2021-01-04 12:47   ` Sakari Ailus
2021-01-04 13:05     ` Laurent Pinchart
2021-01-04 13:55       ` Sakari Ailus
2021-01-12 13:32   ` Tomi Valkeinen
2021-01-14  5:32     ` Laurent Pinchart [this message]
2021-01-18 14:04   ` Tomi Valkeinen
2021-01-20  8:26     ` Laurent Pinchart
2021-01-20 11:52       ` Tomi Valkeinen
2021-02-08 14:18   ` Tomi Valkeinen

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=X//XWJ5NG/FGjUf/@pendragon.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=bparrot@ti.com \
    --cc=linux-media@vger.kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=tomi.valkeinen@ideasonboard.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.