Message ID | 20180408212743.22934-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 7F8E16053B for <patchwork-linux-amlogic@patchwork.kernel.org>; Sun, 8 Apr 2018 21:28:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EB37287A6 for <patchwork-linux-amlogic@patchwork.kernel.org>; Sun, 8 Apr 2018 21:28:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 638DF287E5; Sun, 8 Apr 2018 21:28:31 +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 0F1F3287A6 for <patchwork-linux-amlogic@patchwork.kernel.org>; Sun, 8 Apr 2018 21:28:31 +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=1tIRYcWdf4iIYmUvZWHolUXiR8gyY8IqMkU0FcrtrEw=; b=S3EJDUWIEmbfzQSWV+J+uh7fK6 j858wQs0qQ//ovbi/sa5nMdj/ijA0OYLIJvqRAaFz2XTKIP2oPwARlbUa7BmsANuhELD2NjwZdg4o wr8H3iXmls4Zh3TQ+6HOXwYbCNm8eHABQtxEzA/XqYPV7HnTQ2wJ+uQeOsAmXn3gpXacRJ6pchc8U TJVr1qk0Oy+oXdmWjesbsmdC60Ajvg0XAxLfuGmfrjwFIPjmd3zLtff2Pb9wwQa1ZEdDPrkHsI8dY cov1IL/WeSWaVAttpK1cmGKHpmBezt4WaNupZZt28OUwQi97Bd66yt7qEvsgowHVmswZc9fRgpLUt MvKfbUFw==; 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 1f5HrR-0006E4-C9; Sun, 08 Apr 2018 21:28:29 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f5Hr7-0005yN-C8; Sun, 08 Apr 2018 21:28:11 +0000 Received: by mail-wm0-x242.google.com with SMTP id i3so12303110wmf.3; Sun, 08 Apr 2018 14:27:58 -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=qADf+1MxCLZooteran2bmw7LAapAjS0+wGnuV7Zf1JE=; b=b3/zBi/A3AgusP7/PsQfxsG+ulW15mV61bfNF12GQ89fvHmvsAibKKHG3u24SNA/e8 ihFWmgwtrdPtuWPZpnj3QqEfXKqzwwT6LS+RxZldMHWyrp6P9r1Ab99duwV3Vc3WWT73 3sVmmSQtNpLlaihiEOPTTwXhtQ+Kczp3cscx9nFK6TnG7AwYY2+HOXHUzxeY9dE52tja JD78FkKcKdc3ha8mRlqekyPpgLikBmNZxYv5g5iSi6mtruF1UPymNBvcLqbyEc4lrV5T A7O3IUqWwAHR5WQf7miwFNsRas4IuyNou6x+bMN7dAEDNoq7Jk88QW6CX52248w60t8W ncYQ== 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=qADf+1MxCLZooteran2bmw7LAapAjS0+wGnuV7Zf1JE=; b=T6zZJnWuxbApWlaBCsj8TWA4I51FNERmXBMuVHaL3Fl9vQqXri+Id5aYPYKXoVjVWu RBI3nvMzzjGfDvAWm0xMOsq4d/kEeTz3j7lJHmIA1jNHr3JADXBx1B93BCRtLaYQC/bQ blIDKmmHu8afOennbf6ySGRKS9EcXpSCldc9CaS3oRuu4v0hNhicx8g/XX4+M0q9+pRE r8j66rVrIa6n9FaJIJmG31qzjo4TLuCpwcwDS8A2ex+BUMFQTbja5+Uh9GynXIiiZU7D 4tqGbEGfhVx5zoHtnaJ2beq6Lcm7B+v91koVoltBeceoXlP44W1ZBA+E/Wg2QDdEeFG7 QOXw== X-Gm-Message-State: ALQs6tAA4BgsMwC9CqlcUs/+4XGfakTYplTGwUD/PAaKkc377av4DpIy rf/ZtkABueqIys++qp/agAs= X-Google-Smtp-Source: AIpwx4/MkHzw5Vg+WS/O7DX1jBFP4XtGAVa8rN5pvmipmMg/s5p3rGAKoQDt2I14lfoWnNLP9n8WTA== X-Received: by 10.28.134.138 with SMTP id i132mr17288728wmd.101.1523222877633; Sun, 08 Apr 2018 14:27:57 -0700 (PDT) Received: from blackbox.darklights.net (p5B056562.dip0.t-ipconnect.de. [91.5.101.98]) by smtp.googlemail.com with ESMTPSA id j21sm18476370wrb.49.2018.04.08.14.27.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Apr 2018 14:27:57 -0700 (PDT) From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> To: linux-usb@vger.kernel.org, gregkh@linuxfoundation.org Subject: [PATCH usb v5 1/6] usb: core: phy: fix return value of usb_phy_roothub_exit() Date: Sun, 8 Apr 2018 23:27:38 +0200 Message-Id: <20180408212743.22934-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180408212743.22934-1-martin.blumenstingl@googlemail.com> References: <20180408212743.22934-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180408_142809_457704_A01ABF1F X-CRM114-Status: GOOD ( 14.06 ) 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;