From patchwork Wed Apr 24 15:22:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13642036 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9FD715F41B for ; Wed, 24 Apr 2024 15:22:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713972170; cv=none; b=CBT/LR2mJ6ZdyhYcCBTVxfdM41EnzQ0LBjdCZU3kYvJmOP5FqpRW1jIus42RLFC8riPUe994E5Tvz4foQq4hYgv99E0x84IfUZPSfSNXZz5Y89xrejvh+fH+gniRXC4P0bK7Qb7/IvemzSmSx2lq9UayD3jViQE0HOrcNtkvLLY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713972170; c=relaxed/simple; bh=A+zb2D2LGp8GxzkvjLvhtvagR4efkimO58aCnLGHKFs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sect3VTDpszoSBKtYIWu8itkX9KPBdCSvJjROWUCpEFeZWibY7DEZC5B1XFo987SmZPCvW6pn7M7RS56oLPOz1/VAiT9KUv/OoBec9lz1iU0wnqErM4qSLWQwXeSi1fJZrln+xCek5XCENC4KBSRsQWpqhRt6IrSiOELm2KLWPA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=Rtmgl9iu; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Rtmgl9iu" Received: from pendragon.ideasonboard.com (117.145-247-81.adsl-dyn.isp.belgacom.be [81.247.145.117]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9B5261153; Wed, 24 Apr 2024 17:21:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1713972110; bh=A+zb2D2LGp8GxzkvjLvhtvagR4efkimO58aCnLGHKFs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rtmgl9iuXEwaq1Po5N+rmp0v3p0+xO+aSVTM8zEJxssVp2/HrsJL/2dP8W9kfCSpF ppRS+VLvufC/sQf7QM0k4eL96pkKPTWkLe3gG1JGMmJvg2wUw55wWO3AzvDt19Rw33 X1wJ3nze0Bjm2GFdKA/c0ZlHADZ4bxpmTr1rlZZ8= From: Laurent Pinchart To: linux-media@vger.kernel.org Cc: Sakari Ailus , Tomi Valkeinen , Hans Verkuil , Gregor Jasny , Sakari Ailus Subject: [v4l-utils] [PATCH v2 6/7] utils: media-ctl: Print the INTERNAL pad flag Date: Wed, 24 Apr 2024 18:22:29 +0300 Message-ID: <20240424152230.31923-7-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240424152230.31923-1-laurent.pinchart@ideasonboard.com> References: <20240424152230.31923-1-laurent.pinchart@ideasonboard.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Sakari Ailus Add the INTERNAL pad flag to the list of known flags, to print it by name instead of numerical value. Signed-off-by: Sakari Ailus Signed-off-by: Laurent Pinchart --- utils/media-ctl/media-ctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/media-ctl/media-ctl.c b/utils/media-ctl/media-ctl.c index 1a9e393ac1f3..510479d83de4 100644 --- a/utils/media-ctl/media-ctl.c +++ b/utils/media-ctl/media-ctl.c @@ -517,6 +517,7 @@ static void media_print_topology_text_entity(struct media_device *media, { MEDIA_PAD_FL_SINK, "SINK" }, { MEDIA_PAD_FL_SOURCE, "SOURCE" }, { MEDIA_PAD_FL_MUST_CONNECT, "MUST_CONNECT" }, + { MEDIA_PAD_FL_INTERNAL, "INTERNAL" }, }; const struct media_entity_desc *info = media_entity_get_info(entity); const char *devname = media_entity_get_devname(entity);