Skip to contentSkip to conversation

rcar-vin: Fix rvin_group_init

PATCH In review Kieran Bingham 2 participants 2 messages Nov 30, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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")

---
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
index be2dfe2908e0..924722a0fdfa 100644
@@ -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
#1 lore raw

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_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")

---
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
index be2dfe2908e0..924722a0fdfa 100644
@@ -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