From patchwork Mon Jan 27 05:05:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1229547 X-Patchwork-Delegate: bmeng.cn@gmail.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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=efQvhzFh; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 485dKX47Cdz9sR1 for ; Mon, 27 Jan 2020 16:17:20 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AD4798187C; Mon, 27 Jan 2020 06:11:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org 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" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="efQvhzFh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2B7BD817DD; Mon, 27 Jan 2020 06:09:36 +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.1 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (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 56AE4817FF for ; Mon, 27 Jan 2020 06:09:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd42.google.com with SMTP id z193so8583150iof.1 for ; Sun, 26 Jan 2020 21:09:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mTITDJfPBTSvTH56PoSSqkgOXOLOt2qQgEuFEy1n42c=; b=efQvhzFh8q9uxRCSEt44MZ2Nq3PEuGQrfcF5MJmrLPfSqI3eVnOa7Xo0Kq7XmYaktA 1aJefrOdvGel/ZcuVFXo6PIotU7m/plfIiiSB3HKzFKoqrZhALdsp1cVxO66DN3/swWB aVgudg2oZ71BFJEZGWyPTYImlvsvwh/k6zPO4= 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=mTITDJfPBTSvTH56PoSSqkgOXOLOt2qQgEuFEy1n42c=; b=kL5lhrnyXEAekDde4lTzIfOgtVkZK251pdbgwbQO6/foiXF5Bd/MUxwcr16gNpcMGx anma6mE92mnybYcIYoD3qZ6ip4rQOQaGv4h+bkZLw1Cx3+sKMADc+7o8q64H6IYERl4b NFiXcUBisx0PBUGVykyCbRhEdbYq4F+lcViODL1yRPTKjKAB4DwHHfG0NSxOQsCWwOn3 uWcIYY6qGFp6nY27jczrKjYnvE6zgakcRaA7ay+hT92npEiUb9m2rSX6p9E68NjOJ4FS 4NOp9wgzcXbkAS1Y7ZZ7uX3fbEuuSIv2mB4Sj1qoaExrVrmLCXe10Lewv3miz4s3oYEB 66MA== X-Gm-Message-State: APjAAAXQYQgfQwK9FJN68ChENqPzkNLS5SoA2sEc82BNHlQoitMGACsQ lEZX7+aLvIBWGZDRzjdkDrwExQLpHLn3rw== X-Google-Smtp-Source: APXvYqxJKR2io4tHR1hBqyLij2m8fjXIr5TyzwjJh4kK9G3QUJ0ZAS3DfK1M65iCTZa1GAV1TqhP7A== X-Received: by 2002:a02:6a10:: with SMTP id l16mr11771672jac.77.1580101742997; Sun, 26 Jan 2020 21:09:02 -0800 (PST) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id h23sm4313195ilf.57.2020.01.26.21.09.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jan 2020 21:09:02 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Subject: [PATCH 049/108] x86: pinctrl: Update comment for intel_pinctrl_get_pad() Date: Sun, 26 Jan 2020 22:05:56 -0700 Message-Id: <20200126220508.49.Id23a87cbfe05f86560b788a8e180e9109c35b20d@changeid> X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog In-Reply-To: <20200127050655.170614-1-sjg@chromium.org> References: <20200127050655.170614-1-sjg@chromium.org> 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: , 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 Add information about what is returned on error. Signed-off-by: Simon Glass --- arch/x86/include/asm/intel_pinctrl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/intel_pinctrl.h b/arch/x86/include/asm/intel_pinctrl.h index ebdaa39265..26fbd4c377 100644 --- a/arch/x86/include/asm/intel_pinctrl.h +++ b/arch/x86/include/asm/intel_pinctrl.h @@ -299,6 +299,7 @@ u32 intel_pinctrl_get_config_reg(struct udevice *dev, uint offset); * @pad: Pad to check * @devp: Returns pinctrl device containing that pad * @offsetp: Returns offset of pad within that pinctrl device + * @return 0 if OK, -ENOTBLK if pad number is invalid */ int intel_pinctrl_get_pad(uint pad, struct udevice **devp, uint *offsetp);