Message ID | 20180418193951.17922-2-martin.blumenstingl@googlemail.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F01C760244 for <patchwork-linux-amlogic@patchwork.kernel.org>; Wed, 18 Apr 2018 19:41:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF08E28834 for <patchwork-linux-amlogic@patchwork.kernel.org>; Wed, 18 Apr 2018 19:41:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D38D62883A; Wed, 18 Apr 2018 19:41:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5C4C028834 for <patchwork-linux-amlogic@patchwork.kernel.org>; Wed, 18 Apr 2018 19:41:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=XB/rMJ0thtOc5MXnp2Hh8QDkRfOh1rGAgYz7OqB6wPw=; b=fD1iBh+x3vDmIc7YH3KP44b33U bVjSQZCMEdkw+f9A/UBcWIa/DbPO5d1HEjv2yeeynk99hFtmpeRqXcEVIzFgoC98EPrTu6kT8IDKl kmQBwQ2GGgGswZ8ZgPABTSiuaobxKpt3AEY10kSFL9wed2czNmEjWNOsvz3Vqt0aFjrNJ0WpeXPl1 XVPpRAwdjPEKxJODTCS4c/glqQYG1UYKXaw6BbB+qlgiJXmX4+DEcOxYgMnIXR1aC6EO6XSwZFXA/ JMfCqeSMlSLsxhI3osde1nxskPuMHrZ4QnzOvojbUYwr+ukSSmx0rXdIXayyb3hHYQe4CPqfM0i/j xAv3X/zQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f8sxK-000386-25; Wed, 18 Apr 2018 19:41:26 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f8swI-00025f-Vd; Wed, 18 Apr 2018 19:40:27 +0000 Received: by mail-wr0-x243.google.com with SMTP id z73-v6so7873686wrb.0; Wed, 18 Apr 2018 12:40:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HFtEgEDQ2sGRnQzKeTL8FUm5rFQgprwG4QwptRX89QM=; b=eunkUVRXfN6bBu6ZmBZr9n09EzqfLw3+ILfRi0GZE6UFlcHU8+ZFMWGnL9dkrSDaJ2 cg1cBuhe2gHIb/4TcGFuo+L+FkF/QyZ6Q1beTwCRvxTzZoqB2GtxV3zqM9sHf4/2scZd Krk5FcFgXORbtUpDdsR8aQYjLwjRW2ekongJ1DkRalZxpy0dJfjCtZs6+rNxgC7wG670 taUCaOiw/81Nls9v35Et3dfrhbvibzloP3oUUhBO7Exa2AwooWg1a+uLeKUZUzm6nE+/ neMKpD+bjbFB5OHKr4jnGK6Ks0LYkBtB82SGYqQpPIs/VGlc8sBmJJ5qyWn8fe5hlmFE YD+w== 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; bh=HFtEgEDQ2sGRnQzKeTL8FUm5rFQgprwG4QwptRX89QM=; b=ajReFcZthJS7XF7eaDIr7V2jNJQjgB7BPcqXJYEz6k3fUlgl7WFlmksiDmHGVADoL3 ZqVt1FXWGZFFQvcKKOIwCgQLC6usznxGFzgqEL+Lu3Ymfj6fash5FWtQnuXCUTy1XojV 5x24qcxHC60T7TTn8y72j1zB6pkV7k534IkRmPFq6r7fnNviZr8mqlw1EA2K0ByXV2DW gMUcxn+11j8aID1BO4104lhxrhyw506LBXZ+VymyLw6R7ZZVut9CX/y5ErFEhKBNiU01 HLh6VLczol6gdCju6OBQ/CvrUpqJOZU68P+IohiJ/iEHC/0uWVZUtXWQBACKhClFPIJr MVNQ== X-Gm-Message-State: ALQs6tD1qildbEmXjbo6kSEABd6507DxjQZimtCVzMri7uwkZHiLF4FU EaJH1qJchAKJ9EgosbwDW1M= X-Google-Smtp-Source: AIpwx4+xx4EP1o/b6mmycIdMsnAg4EcfPhk6wvbqsLnnZS+kGPcdtfQoBVuIrhDYVh/i5TCRrifMLg== X-Received: by 10.28.176.201 with SMTP id z192mr2492250wme.62.1524080411203; Wed, 18 Apr 2018 12:40:11 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD743A504F9143C002217B8ED.dip0.t-ipconnect.de. [2003:dc:d743:a504:f914:3c00:2217:b8ed]) by smtp.googlemail.com with ESMTPSA id 60-v6sm1871990wrj.62.2018.04.18.12.40.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 12:40:10 -0700 (PDT) From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> To: linux-usb@vger.kernel.org, gregkh@linuxfoundation.org Subject: [PATCH usb v6 1/6] usb: core: phy: fix return value of usb_phy_roothub_exit() Date: Wed, 18 Apr 2018 21:39:46 +0200 Message-Id: <20180418193951.17922-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180418193951.17922-1-martin.blumenstingl@googlemail.com> References: <20180418193951.17922-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180418_124023_045695_15B158BC X-CRM114-Status: GOOD ( 14.19 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Cc: d-gerlach@ti.com, eric@anholt.net, j-keerthy@ti.com, stern@rowland.harvard.edu, chunfeng.yun@mediatek.com, yamada.masahiro@socionext.com, linux-mediatek@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, Rishabh Bhatnagar <rishabhb@codeaurora.org>, matthias.bgg@gmail.com, linux-amlogic@lists.infradead.org, kishon@ti.com, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, rogerq@ti.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/usb/core/phy.c b/drivers/usb/core/phy.c index 09b7c43c0ea4..f19aaa3c899c 100644 --- a/drivers/usb/core/phy.c +++ b/drivers/usb/core/phy.c @@ -111,7 +111,7 @@ int usb_phy_roothub_exit(struct usb_phy_roothub *phy_roothub) list_for_each_entry(roothub_entry, head, list) { err = phy_exit(roothub_entry->phy); if (err) - ret = ret; + ret = err; } return ret;