From patchwork Thu Nov 28 13:43:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 180431 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp167072ile; Thu, 28 Nov 2019 05:44:01 -0800 (PST) X-Google-Smtp-Source: APXvYqykh+SQQhFvOooaPGSavVBKAUQ6/0k81x41m0qeg70ItyHudsuDGpSE+gp6GgGfju6iQHRp X-Received: by 2002:a05:6402:1ca6:: with SMTP id cz6mr13390269edb.151.1574948641613; Thu, 28 Nov 2019 05:44:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574948641; cv=none; d=google.com; s=arc-20160816; b=WuKRrXVgGWG6ssBIa+RQiadeJkQGCd1VK6bIn3qd9hg9lLVkUtF3XxsD14p/amq/uL OqF5OsUSfotGJCbsWP8ju1fW6KwoHfVysLIxjpC+kZnkn+WIehhH/d7eQZDHqSfhnBFo /oye0c018s0FT1+WKFpJmJl+Act5ypvHIt7YnuOg2MB9u8i0G3n58w9Xj7mse6gwH1mz srs2+vHAkQi95I5p9gWN6sop+39d21Khr0KBEKWPP9mo3TBH1iiqM9u/w4HIwHsCQgUY Q10wg4ZjdVR/JOnYLkak7e1d7LDBDx3qXXuj3SEY+lnA7pXh1jS/GQqcJsPgtzSBS0CM tAhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vtzLD0tyab7VEFg5K+G3bH3VUcvOhRi/b0o/Pb84uPg=; b=fKf67x8VsiIfrfHCFNYtHLWgf75mROjDMjIzh63mVlyieJovEesMD1ZA2MWVeQP/aY C2bZb+jT6SiaPH6AJqmpmzy7bJ81j5uNxcgTsiDoGh1F4EHzhUrPTWcfBDxpYAqbjUFl Ui1DUAhTADQz4Me1wNoV/Nrqkw50Bj9wxNDpsxdjAlu1a69FyGGIJaCHlYsf4I7BK/mA iZgiLV5HaHaaPpOHOFOY4zrqvN74u8vl2hGz3p0fT846TrOy2iXGHgrjwaxtJRbJsYKq dSUYOij8WVAWNgQKemLRKo9Uazs5pshttbLpT2MViislYYCG3JnPr3pUOiBRkcjz1v5r pk7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tIfp8pk9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dn24si14368908edb.251.2019.11.28.05.44.01; Thu, 28 Nov 2019 05:44:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tIfp8pk9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727059AbfK1Nnx (ORCPT + 26 others); Thu, 28 Nov 2019 08:43:53 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:37102 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726754AbfK1Nnw (ORCPT ); Thu, 28 Nov 2019 08:43:52 -0500 Received: by mail-wm1-f66.google.com with SMTP id f129so11725879wmf.2 for ; Thu, 28 Nov 2019 05:43:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vtzLD0tyab7VEFg5K+G3bH3VUcvOhRi/b0o/Pb84uPg=; b=tIfp8pk983wWAlUIotSYeqWNg3ZI5ZwNr8gf2fngdwvGRNbPC89oqvVwYbs5HxV5Xp jUJ9wSR8H29ha+IAEKJUY7BA6srBV8K2TXitMb0yjTK0w9Ir6AkJCuCxtOtdCkdBbPJw fYDpGW59cKqQFb6Q61PO0ksF0XvWW/IeWTDZvbvjlSXC0JE3Et/LvYLs3mope5NEBUuF ro3PeFyseq+2RJ9/JpJRqJKLx7wXF44XSH9kta2wYFBpvjuZxJ1Ihz9nDZwUeBmPZFfT LOPg6sEsZpP/5eHcFfm+8l23a+QEdgZtNH8B1kZeZMEPLfeaICFCAnS9Oa4K27so7MLu aqcQ== 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=vtzLD0tyab7VEFg5K+G3bH3VUcvOhRi/b0o/Pb84uPg=; b=sc3xmdt5VXE1LhZu375wbhzUYPSTmZ0et2vnpniw0DyWXpKV8gpBGu8oiguv4g1VHx KWrQAOo1Unukx6IkJ4I0reofbhzlspxoTHiXb6Vk1xVQwa4gm8aD3RF7zcA8LZ3hMDYW vrO7IyrpAnZMZMNoXGZ2fmGzVvwxXzork+pJZyeqFANB4K6cc4vK6R+A05H3CS/+uudf DLhcGsoNb5hBP8oXrBCH/a2jtYr4ugw1K0n+sD60VSsu58ik/3uicgLNPyxlsPwwwCtP 67GeIsQ4bZYIKkxS25jVvd0ERfydgJ9Q2DkWNbqyqjWJ5CRnSs2+zkXeVfFuJyMKe1I2 8wCg== X-Gm-Message-State: APjAAAWpBqU4+1f/1ZBViuWsVOEFR7w7BfZRqwmxSQpLMonqlmhMarRy uPKn+sYX4mWl93K39/QelN/+KInh5I4= X-Received: by 2002:a1c:3b82:: with SMTP id i124mr9015505wma.122.1574948628635; Thu, 28 Nov 2019 05:43:48 -0800 (PST) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id u26sm10743407wmj.9.2019.11.28.05.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Nov 2019 05:43:48 -0800 (PST) From: Bryan O'Donoghue To: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Cc: Bryan O'Donoghue , Chunfeng Yun , Nagarjuna Kristam , Linus Walleij , Greg Kroah-Hartman Subject: [PATCH 1/2] usb: common: usb-conn-gpio: Don't log an error on probe deferral Date: Thu, 28 Nov 2019 13:43:57 +0000 Message-Id: <20191128134358.3880498-2-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191128134358.3880498-1-bryan.odonoghue@linaro.org> References: <20191128134358.3880498-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch makes the printout of the error message for failing to get a VBUS regulator handle conditional on the error code being something other than -EPROBE_DEFER. Deferral is a normal thing, we don't need an error message for this. Cc: Chunfeng Yun Cc: Nagarjuna Kristam Cc: Linus Walleij Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Bryan O'Donoghue --- drivers/usb/common/usb-conn-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.24.0 diff --git a/drivers/usb/common/usb-conn-gpio.c b/drivers/usb/common/usb-conn-gpio.c index 87338f9eb5be..ed204cbb63ea 100644 --- a/drivers/usb/common/usb-conn-gpio.c +++ b/drivers/usb/common/usb-conn-gpio.c @@ -156,7 +156,8 @@ static int usb_conn_probe(struct platform_device *pdev) info->vbus = devm_regulator_get(dev, "vbus"); if (IS_ERR(info->vbus)) { - dev_err(dev, "failed to get vbus\n"); + if (PTR_ERR(info->vbus) != -EPROBE_DEFER) + dev_err(dev, "failed to get vbus\n"); return PTR_ERR(info->vbus); } From patchwork Thu Nov 28 13:43:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 180430 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp166970ile; Thu, 28 Nov 2019 05:43:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwnWf0xR0/tMhLABQSZ0jZQxJHK8K88ymrNHrk8FgSEs14NZCfidqqAnDG3xm2wD/dI9Axs X-Received: by 2002:a17:906:cc98:: with SMTP id oq24mr11195264ejb.170.1574948637124; Thu, 28 Nov 2019 05:43:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574948637; cv=none; d=google.com; s=arc-20160816; b=Yk94L2V/X/PH1DOLSCbjFRme2R2TECJX+5FwAPr/W5N0efpHKeZtwMy5U0um4hrjq1 Gk6iXhhKT9kYkoK9E1Sq6VfRE+GpIW3KIGQGezZpCANH+XKnQ6dz4v0W9I+3V1kLp3zF 3nVF+dN69NocUfQZOaxABgip4P+1//cL54UrzzewTJrm0APprXTOU/9uDTe+6SPgN3vj awrBMSe2oa9Uw6b0ymsOe27AjNtGIt5newUdnXBMdeEXF2EfnJ0OtRevSTnsJQ1Gg6c+ lzF+Q6lRCCK3/rHQxg1njFmMiRHHrSsvClORk/QyYql7u2rmdi3Aw9SwWCgQNDh+ULQS ty+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qWB0GnHdmXhKLKHodka8vOS+SgvA6x8EElzWcdcx5ww=; b=JyDO2N9cOtVFbyIQUugixnb2q4rTrfZlyAKcwum6BHLosf0Ot8iI0WteCE2c9q7Nj2 KcwglJRfdvHbzvECDMTIKw0dYk/dKDkeHytpW+bYAjuSUi3LvxzCahYApGUDKVB+0wCt yeO4R/jU7T1FiTNlkZ2FBiZQZ32IiouYM/a0T26EBWn8YksBPnecelGXsEp4tRfrIOFw nXs7jCNlcuBcplUBHGLVxZfqDCH5xRieYV41taYxTpunKLSeJ3u0SmXAG6rH5SLomwua vWTMaAZzyZ0TGJvYyPlfWBgdQwZtcNDdVLVxHT+1pTCDP1ISYTzkEXh8A/GoleullDne w8ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F1DEWss5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id br3si11816234ejb.436.2019.11.28.05.43.56; Thu, 28 Nov 2019 05:43:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F1DEWss5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727104AbfK1Nny (ORCPT + 26 others); Thu, 28 Nov 2019 08:43:54 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33245 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726876AbfK1Nnw (ORCPT ); Thu, 28 Nov 2019 08:43:52 -0500 Received: by mail-wr1-f67.google.com with SMTP id b6so1552322wrq.0 for ; Thu, 28 Nov 2019 05:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qWB0GnHdmXhKLKHodka8vOS+SgvA6x8EElzWcdcx5ww=; b=F1DEWss5lWPIOHF1keRZXlAR8uX19LLPvRfTbPq0IGYG2LZ5nSNZFGU9oW0IZn/6Bn Z4zm5JyDek6NV2gKYHZxSW9rLehMcmfmekenEFg8DDGo2iN5OhWe1aDkhjoCmZx2Ir3o uRyeHpHi61ZR2Xdb+jeHSTXjT/eCAS/AYdOPvy2+vKFi8V1jKW0G+GG7U6aZXmUvrPwW OLCVvYFrZRlDM9xrAiMvDCv2T2MMlcg6+9Xcfr5hGdOTKXnyolbZyHPV37O9WcSvuMQa zYk+gtd4Wk8wTD190V/dklglqsiwPOPw9lAfK9LGqVTfCFI6T1mAJt0/0Lpp/Hkr4QyU BMug== 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=qWB0GnHdmXhKLKHodka8vOS+SgvA6x8EElzWcdcx5ww=; b=K+eH0lLsNrFkk6p89+uY1bd+Tc1MLNRZ3yLlJnDwLFc9GffVf8qrPe6pjLo8Oyd1o1 k1PU456YI1q2XTQMHjGYlh3HQ9w8DPzJ8k5UtncQma9AoebqxOp3HOBcn8//JbKi+0e/ R82V3xOqrD1IK3rvhntog9L2K1jVJXtq2XDA5bJ3WOcWNmMQQzEoIDpMveIHr/sWRaJT 0zjyC3LX7sA6QNdiXvPXMwgf48U2r/vG/zehEYKmRHXbBnGWgYSyZiQOUXWhV/5BMaf+ GRAaQyQQ7eVFsfn7ROgmM0y6GJWfS0lRe9NBkyPiNZNxV1fXjMSLvlObwTVzCKJFwu67 LtNQ== X-Gm-Message-State: APjAAAVDWB41l7VUXz0paB6DoliHSehSXt8XITM8vsp+4z8RsjkQb7/C jCF3PWbc/rcCJLJdCbu8Sqqn2MA8ysE= X-Received: by 2002:adf:f147:: with SMTP id y7mr48400538wro.236.1574948629807; Thu, 28 Nov 2019 05:43:49 -0800 (PST) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id u26sm10743407wmj.9.2019.11.28.05.43.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Nov 2019 05:43:49 -0800 (PST) From: Bryan O'Donoghue To: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Cc: Bryan O'Donoghue , Andrzej Hajda , Rob Herring , Chanwoo Choi , devicetree@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: connector: Improve the english of the initial description Date: Thu, 28 Nov 2019 13:43:58 +0000 Message-Id: <20191128134358.3880498-3-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191128134358.3880498-1-bryan.odonoghue@linaro.org> References: <20191128134358.3880498-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The description lacks a few indefinite articles when reading and as a result is a bit clunky to read. Introduce a few indefinite articles to appease the grammar gods. Cc: Andrzej Hajda Cc: Rob Herring Cc: Chanwoo Choi Cc: linux-usb@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: Bryan O'Donoghue --- Documentation/devicetree/bindings/connector/usb-connector.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.24.0 diff --git a/Documentation/devicetree/bindings/connector/usb-connector.txt b/Documentation/devicetree/bindings/connector/usb-connector.txt index d357987181ee..88578ac1a8a7 100644 --- a/Documentation/devicetree/bindings/connector/usb-connector.txt +++ b/Documentation/devicetree/bindings/connector/usb-connector.txt @@ -1,8 +1,8 @@ USB Connector ============= -USB connector node represents physical USB connector. It should be -a child of USB interface controller. +A USB connector node represents a physical USB connector. It should be +a child of a USB interface controller. Required properties: - compatible: describes type of the connector, must be one of: