From patchwork Mon Jan 27 06:30:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luka Kovacic X-Patchwork-Id: 1229610 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sartura.hr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sartura-hr.20150623.gappssmtp.com header.i=@sartura-hr.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=ucUcGt4o; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 485fy54XDJz9sNF for ; Mon, 27 Jan 2020 17:30:37 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AF963817B8; Mon, 27 Jan 2020 07:30:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sartura.hr Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sartura-hr.20150623.gappssmtp.com header.i=@sartura-hr.20150623.gappssmtp.com header.b="ucUcGt4o"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A4EFE817D0; Mon, 27 Jan 2020 07:30:30 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DD3C9817B8 for ; Mon, 27 Jan 2020 07:30:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sartura.hr Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=luka.kovacic@sartura.hr Received: by mail-wr1-x441.google.com with SMTP id q10so9643996wrm.11 for ; Sun, 26 Jan 2020 22:30:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NXCviaU7D249dIn6USYSQPLIj5tVux0FgbMfIizfqK0=; b=ucUcGt4oCk/wBWmV5C3wRncAzD+jQFbZ4FuaTLtCKk+nBwoYPbwnDcC3829Tu9ZPhc GxvL8+B3h5U1WTgnoTK16lkaNRtSECYzGGFR9ddLcG0gWiadkTgLHJWiFWLImJSnT1Yp 7EQHEBFuDMqUUthjQnRJMJLJOhk0xEaBPDdkrD4urFCjsE3HGFvbN2LFQqHkE4I6JxQR oeTp3YlcYnN5Elf+oR1hJ9LDT+mE9hqav8OtQlwHL3kR/tTut1it44veLWepel27L7pX yvU61ds6uGK/ZBsXd9+8iXYnPeDWmPvuzRwf1opCppZiOCJLXS4+ZAQ2jprl2DubDTJU EobA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NXCviaU7D249dIn6USYSQPLIj5tVux0FgbMfIizfqK0=; b=QzID+p0+PChiSS5LvI4XIYMeasygsToey5mjifY062OfEY2AP88wBRopYVHOq8Kgpc CJBWshbaSDfhJsHdh9U2FmSB4LlDvBAMcke08rGQF0Ov1o1z7JO+AmX5Ho/bVVP7KKwe KlvSRuFzHXgwXamefZbDDvUMcTuFn1iijr4legJwuAIiRXvFFy5o7xh6ynachAsBAigz i08eriayz/4rNwCoNETthNI5/KsiKuBdUlchEAmPKGvYOr3EZR7OMLOuQVUFFct1emuT OaHcxVIVDJTacFloysOHKGJIk/GrKbQ3042gKvb0rpLjVZ9aczvkXtDqAJ95dzMhNEfD eMMw== X-Gm-Message-State: APjAAAVMBh4r8aX7dFll72uS90RsbjHjSs+APnlbu1/YoXrE4vHxmjAg jm50Kug66rl5GE/pv0G75SlLew== X-Google-Smtp-Source: APXvYqz7KRSvtZiX10WJpWZqeUEwprO1Iuw9yPiHf+/iqmiBdY5ICT6aDUi3XNxgVAa+ssBpETr4VQ== X-Received: by 2002:a5d:528e:: with SMTP id c14mr19766202wrv.308.1580106627489; Sun, 26 Jan 2020 22:30:27 -0800 (PST) Received: from localhost.localdomain ([2001:1470:f9c0:f2:6f0a:4528:775c:847f]) by smtp.gmail.com with ESMTPSA id r5sm19278882wrt.43.2020.01.26.22.30.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jan 2020 22:30:27 -0800 (PST) From: luka.kovacic@sartura.hr To: trini@konsulko.com Subject: [PATCH 2/2 v1] cmd: gpio: Add the command return value to the help text Date: Mon, 27 Jan 2020 07:30:20 +0100 Message-Id: <20200127063020.28026-1-luka.kovacic@sartura.hr> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200123211204.GC26536@bill-the-cat> References: <20200123211204.GC26536@bill-the-cat> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: u-boot@lists.denx.de, Luka Kovacic , robert.marko@sartura.hr, Luka Perkov Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean From: Luka Kovacic Adds the command return value to the help text, since pin value is returned. Cc: Luka Perkov Signed-off-by: Luka Kovacic --- cmd/gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/gpio.c b/cmd/gpio.c index eff36ab2af..e57d3fb638 100644 --- a/cmd/gpio.c +++ b/cmd/gpio.c @@ -245,5 +245,6 @@ static int do_gpio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) U_BOOT_CMD(gpio, 4, 0, do_gpio, "query and control gpio pins", " \n" - " - input/set/clear/toggle the specified pin\n" + " - input/set/clear/toggle the specified pin; pin value is\n" + " returned.\n" "gpio status [-a] [ | ] - show [all/claimed] GPIOs");