Hi Niklas, Thank you for the patch. On Thu, Jun 11, 2020 at 01:05:40AM +0200, Niklas Söderlund wrote: > If the graph in the media device is complete report it to userspace by > setting the MEDIA_TOPOLOGY_FLAG_COMPLETE flag. > > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx> Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> > --- > drivers/media/mc/mc-device.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/media/mc/mc-device.c b/drivers/media/mc/mc-device.c > index c2ef5bb512a5fba0..d63792cc014279fc 100644 > --- a/drivers/media/mc/mc-device.c > +++ b/drivers/media/mc/mc-device.c > @@ -242,7 +242,7 @@ static long media_device_get_topology(struct media_device *mdev, void *arg) > int ret = 0; > > topo->topology_version = mdev->topology_version; > - topo->flags = 0; > + topo->flags = mdev->complete ? MEDIA_TOPOLOGY_FLAG_COMPLETE : 0; > > /* Get entities and number of entities */ > i = 0; -- Regards, Laurent Pinchart