rcar-vin: Fix rvin_group_init
Subsystems (2)
PATCH 1/1 rcar-vin: Fix rvin_group_init
From: Kieran Bingham <[email protected]>
rvin_group_init incorrectly calls rvin_group_update_links.
Repair by removing the call, and simply returning 0;
Fixes 3135326aae2c ("rcar-vin: parse Gen3 OF and setup media graph")
Signed-off-by Kieran Bingham <[email protected]>
---
Hi Niklas,
A small fixup for your RCar VIN branch
drivers/media/platform/rcar-vin/rcar-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/rcar-vin/rcar-core.c +1 -1
@@ -926,7 +926,7 @@ static int rvin_group_init(struct rvin_dev *vin) goto error_vdev; } -return rvin_group_update_links (vin); +return 0 ; error_vdev:rvin_v4l2_unregister (vin);
Signature · 1 line
2.7.4
Hi Kieran,
Thanks for your patch. I will squash this in with the original patch.
This was a left over from moving the video device registration from probe() to the async callbacks.
Quoted 32 lines · Kieran Bingham
From: Kieran Bingham <[email protected]>
rvin_group_initincorrectly callsrvin_group_update_links.Repair by removing the call, and simply returning 0;
Fixes 3135326aae2c ("rcar-vin: parse Gen3 OF and setup media graph")Signed-off-by Kieran Bingham <[email protected]>---
Hi Niklas,A small fixup for your RCar VIN branch
drivers/media/platform/rcar-vin/rcar-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/media/platform/rcar-vin/rcar-core.c +1
-1@@ -926,7 +926,7 @@ static int rvin_group_init(struct rvin_dev *vin) goto error_vdev; } -return rvin_group_update_links (vin); +return 0 ; error_vdev:rvin_v4l2_unregister (vin);Signature · 1 line
2.7.4
Signature · 2 lines
Regards, Niklas S�derlund