linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] media: soc_camera: mt9t112: Update to new interface
@ 2018-03-10 18:35 Jacopo Mondi
  2018-03-10 19:08 ` Hans Verkuil
  0 siblings, 1 reply; 2+ messages in thread
From: Jacopo Mondi @ 2018-03-10 18:35 UTC (permalink / raw)
  To: hverkuil; +Cc: Jacopo Mondi, linux-media

Use in the soc_camera version of mt9t112 driver the new name for the
driver's platform data as defined by the new v4l2 driver for the same chip.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>

---

Hans: to not break bisect, would you like me to resend the whole series
with this commit squashed in:
[PATCH 2/5] media: i2c: mt9t112: Remove soc_camera dependencies
that changes the driver interface, or can you do that when applying?

Thanks
   j

---
 drivers/media/i2c/soc_camera/mt9t112.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/i2c/soc_camera/mt9t112.c b/drivers/media/i2c/soc_camera/mt9t112.c
index 297d22e..b53c36d 100644
--- a/drivers/media/i2c/soc_camera/mt9t112.c
+++ b/drivers/media/i2c/soc_camera/mt9t112.c
@@ -85,7 +85,7 @@ struct mt9t112_format {

 struct mt9t112_priv {
 	struct v4l2_subdev		 subdev;
-	struct mt9t112_camera_info	*info;
+	struct mt9t112_platform_data	*info;
 	struct i2c_client		*client;
 	struct v4l2_rect		 frame;
 	struct v4l2_clk			*clk;
--
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] media: soc_camera: mt9t112: Update to new interface
  2018-03-10 18:35 [PATCH] media: soc_camera: mt9t112: Update to new interface Jacopo Mondi
@ 2018-03-10 19:08 ` Hans Verkuil
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Verkuil @ 2018-03-10 19:08 UTC (permalink / raw)
  To: Jacopo Mondi; +Cc: linux-media

If possible, post a v2. It avoids mistakes.

Hans

On March 10, 2018 7:35:31 PM GMT+01:00, Jacopo Mondi <jacopo+renesas@jmondi.org> wrote:
>Use in the soc_camera version of mt9t112 driver the new name for the
>driver's platform data as defined by the new v4l2 driver for the same
>chip.
>
>Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
>
>---
>
>Hans: to not break bisect, would you like me to resend the whole series
>with this commit squashed in:
>[PATCH 2/5] media: i2c: mt9t112: Remove soc_camera dependencies
>that changes the driver interface, or can you do that when applying?
>
>Thanks
>   j
>
>---
> drivers/media/i2c/soc_camera/mt9t112.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/media/i2c/soc_camera/mt9t112.c
>b/drivers/media/i2c/soc_camera/mt9t112.c
>index 297d22e..b53c36d 100644
>--- a/drivers/media/i2c/soc_camera/mt9t112.c
>+++ b/drivers/media/i2c/soc_camera/mt9t112.c
>@@ -85,7 +85,7 @@ struct mt9t112_format {
>
> struct mt9t112_priv {
> 	struct v4l2_subdev		 subdev;
>-	struct mt9t112_camera_info	*info;
>+	struct mt9t112_platform_data	*info;
> 	struct i2c_client		*client;
> 	struct v4l2_rect		 frame;
> 	struct v4l2_clk			*clk;
>--
>2.7.4

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-10 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-10 18:35 [PATCH] media: soc_camera: mt9t112: Update to new interface Jacopo Mondi
2018-03-10 19:08 ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).