diff mbox

media: soc_camera: mt9t112: Update to new interface

Message ID 1520706931-25278-1-git-send-email-jacopo+renesas@jmondi.org (mailing list archive)
State New, archived
Headers show

Commit Message

Jacopo Mondi March 10, 2018, 6:35 p.m. UTC
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(-)

--
2.7.4

Comments

Hans Verkuil March 10, 2018, 7:08 p.m. UTC | #1
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
diff mbox

Patch

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;