Re: [PATCH] media: soc_camera: mt9t112: Update to new interface

2018-03-10 Thread Hans Verkuil
If possible, post a v2. It avoids mistakes.

Hans

On March 10, 2018 7:35:31 PM GMT+01:00, Jacopo Mondi 
 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 
>
>---
>
>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.


[PATCH] media: soc_camera: mt9t112: Update to new interface

2018-03-10 Thread Jacopo Mondi
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 

---

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