From patchwork Thu Nov 18 18:07:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 14638 X-Patchwork-Delegate: umang.jain@ideasonboard.com Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 7AEDDBF415 for ; Thu, 18 Nov 2021 18:07:18 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 89C2460371; Thu, 18 Nov 2021 19:07:17 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Bka0oQ2O"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CEB5C60231 for ; Thu, 18 Nov 2021 19:07:15 +0100 (CET) Received: from perceval.ideasonboard.com (unknown [103.251.226.87]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 63BD6E7; Thu, 18 Nov 2021 19:07:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1637258835; bh=CjLrPkIqlEGwgyyDpbADYN3GtW86+LAZfYfoSOu6L5w=; h=From:To:Cc:Subject:Date:From; b=Bka0oQ2OMjni4UCF87KFHeSA52NeGgkrJodQH4rcjwadklME6q+ifzEI8HFvpWyXM C9DcWtD6l3lxjXzkJCdW+m5OdRX/zQdzukUS9NEr4eZLUCA3pv4pWwCNlq85OOoWc5 zJAevViE2kznFMnnxQFpCip8umQl4xoECvX3ofFk= From: Umang Jain To: libcamera-devel@lists.libcamera.org Date: Thu, 18 Nov 2021 23:37:07 +0530 Message-Id: <20211118180707.348256-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: media_device: Documentation fix X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Fix a couple of sentence formations to clarify the intent. Signed-off-by: Umang Jain --- src/libcamera/media_device.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libcamera/media_device.cpp b/src/libcamera/media_device.cpp index aa93da75..dd5def20 100644 --- a/src/libcamera/media_device.cpp +++ b/src/libcamera/media_device.cpp @@ -40,15 +40,15 @@ LOG_DEFINE_CATEGORY(MediaDevice) * instance. * * The instance is created with an empty media graph. Before performing any - * other operation, it must be populate by calling populate(). Instances of + * other operation, it must be populated by calling populate(). Instances of * MediaEntity, MediaPad and MediaLink are created to model the media graph, * and stored in a map indexed by object id. * - * The graph is valid once successfully populated, as reported by the isValid() - * function. It can be queried to list all entities(), or entities can be - * looked up by name with getEntityByName(). The graph can be traversed from - * entity to entity through pads and links as exposed by the corresponding - * classes. + * The graph is valid once it has been successfully populated, and is reported + * as valid by the isValid() function. It can be queried to list all entities + * with entities(), or entities can be looked up by name with getEntityByName() + * function. The graph can be traversed from entity to entity through pads and + * links as exposed by the corresponding classes. * * Media devices can be claimed for exclusive use with acquire(), released with * release() and tested with busy(). This mechanism is aimed at pipeline