diff mbox

rcar-vin: add R-Car gen2 fallback compatibility string

Message ID 2381051.RUpesOs1q9@wasted.cogentembedded.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sergei Shtylyov July 25, 2016, 7:19 p.m. UTC
Such fallback string is present in the 'soc_camera' version of the R-Car VIN
driver, so need  to add it here as well...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
This patch is against the 'media_tree.git' repo's 'master' branch.
This patch conflicts with Niklas Soderlund's former patch "[media] rcar-vin:
add  Gen2 and Gen3 fallback compatibility strings"), I got his consent about
splitting the gen2 part  of that patch to a separate patch...

 drivers/media/platform/rcar-vin/rcar-core.c |    1 +
 1 file changed, 1 insertion(+)


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Niklas Söderlund July 26, 2016, 6:05 a.m. UTC | #1
On 2016-07-25 22:19:33 +0300, Sergei Shtylyov wrote:
> Such fallback string is present in the 'soc_camera' version of the R-Car VIN
> driver, so need  to add it here as well...
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Acked-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

> 
> ---
> This patch is against the 'media_tree.git' repo's 'master' branch.
> This patch conflicts with Niklas Soderlund's former patch "[media] rcar-vin:
> add  Gen2 and Gen3 fallback compatibility strings"), I got his consent about
> splitting the gen2 part  of that patch to a separate patch...
> 
>  drivers/media/platform/rcar-vin/rcar-core.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> Index: media_tree/drivers/media/platform/rcar-vin/rcar-core.c
> ===================================================================
> --- media_tree.orig/drivers/media/platform/rcar-vin/rcar-core.c
> +++ media_tree/drivers/media/platform/rcar-vin/rcar-core.c
> @@ -209,6 +209,7 @@ static const struct of_device_id rvin_of
>  	{ .compatible = "renesas,vin-r8a7790", .data = (void *)RCAR_GEN2 },
>  	{ .compatible = "renesas,vin-r8a7779", .data = (void *)RCAR_H1 },
>  	{ .compatible = "renesas,vin-r8a7778", .data = (void *)RCAR_M1 },
> +	{ .compatible = "renesas,rcar-gen2-vin", .data = (void *)RCAR_GEN2 },
>  	{ },
>  };
>  MODULE_DEVICE_TABLE(of, rvin_of_id_table);
>
Sergei Shtylyov July 26, 2016, 10 a.m. UTC | #2
On 7/26/2016 9:05 AM, Niklas Söderlund wrote:

>> Such fallback string is present in the 'soc_camera' version of the R-Car VIN
>> driver, so need  to add it here as well...
>>
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> Acked-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

    Thanks and sorry for forgetting to CC you.

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

Index: media_tree/drivers/media/platform/rcar-vin/rcar-core.c
===================================================================
--- media_tree.orig/drivers/media/platform/rcar-vin/rcar-core.c
+++ media_tree/drivers/media/platform/rcar-vin/rcar-core.c
@@ -209,6 +209,7 @@  static const struct of_device_id rvin_of
 	{ .compatible = "renesas,vin-r8a7790", .data = (void *)RCAR_GEN2 },
 	{ .compatible = "renesas,vin-r8a7779", .data = (void *)RCAR_H1 },
 	{ .compatible = "renesas,vin-r8a7778", .data = (void *)RCAR_M1 },
+	{ .compatible = "renesas,rcar-gen2-vin", .data = (void *)RCAR_GEN2 },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, rvin_of_id_table);