Skip to contentSkip to conversation

media: vpif_display: Use pad variant of dv timing subdev calls

PATCH New Paweł Anikiel 1 participant 1 message Apr 8, 2024

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

PATCH 1/1 media: vpif_display: Use pad variant of dv timing subdev calls

Use the pad variant for all (s|g|query)_dv_timings subdev calls, which includes a pad argument.

---
 drivers/media/platform/ti/davinci/vpif_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/ti/davinci/vpif_display.c +1 -1
index 02ede1fe12cb..76d8fa8ad088 100644
@@ -934,7 +934,7 @@ static int vpif_s_dv_timings(struct file *file, void *priv,
 	}
 
 	/* Configure subdevice timings, if any */
-	ret = v4l2_subdev_call(ch->sd, video, s_dv_timings, timings);
+	ret = v4l2_subdev_call(ch->sd, pad, s_dv_timings, 0, timings);
 	if (ret == -ENOIOCTLCMD || ret == -ENODEV)
 		ret = 0;
 	if (ret < 0) {
Signature · 1 line
2.44.0.478.gd926399ef9-goog