Message ID | 20170908153604.28383-7-romain.izard.pro@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=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 69A2D604D5 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 8 Sep 2017 15:39:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58BFA287F5 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 8 Sep 2017 15:39:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D579287FA; Fri, 8 Sep 2017 15:39:37 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 E18AD287F8 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 8 Sep 2017 15:39:36 +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=FbM444xwjrF01k3omfjltO10vCfAeaL8U9RwDmFTdKs=; b=ll6yyinjFVc3m8W8Y3uNm+yqUU EkRxXu6DshH+MaIbAPBaDW6fqdpaoRZQECIWoDTlurqN0LDkNAgZeV82ClQgienlabh0WLrE1/KFr D2pSCTlc+eD4SOD3zRui0MgxAtjkE2DNh+hrcgu3R57bYPCbgMq1SsUTGU4aud9V09kcRYoAN7avX 8yYnvs0fp81R4EPOXWZuzuZBd3eWZEaZIVYGJIwebHGpiANcMKA06pKoxsJ5zZkNIQMqst0ntWd8T NwQ+J2URxbW4tK9rTMdVxP5FsjMYhxjBqI6uBtVRnin1wHJwkSJabgF3tJPFTXxmNktqL6ZKDzkVf Of93M9wA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dqLNO-00082F-DR; Fri, 08 Sep 2017 15:39:26 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dqLKi-00067u-Ou; Fri, 08 Sep 2017 15:36:43 +0000 Received: by mail-wm0-x242.google.com with SMTP id p17so1980946wmd.3; Fri, 08 Sep 2017 08:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=oXmKn1KofyZwcjnBOUm74XmkxLMf8Z2wlrhdx+nzJUc=; b=DXfbSxZEy8jFYu5s+xHdTtKs2HdQC+F3zoo34yjXTO6AzxoM22A16esdLzhMWRlPVq qKRN9dUfjTM8DnKm2OWn1EAYbmNTf+q9Slu4VaH3ildxXGtRPoN13kq8P/mOcfM3QSlY IJgdZUks9k/6bN3impGPqQQhEYFGPu2cCctlJ60DP/DSWONjGbAOomlJLwcSqbS3q35k zzhDTuue7Oa5Y7AM/Ef8MYueOT4MyoZlVoVq70FKYDl3DhjlU+HHRKWLo3kMurwqjNob kM594mpasowPqzTcP2C0+WWXDLp/e3y7/2PoEuaraLD4cSByAIpnOwFBy//gjE0B4GwM QPug== 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=oXmKn1KofyZwcjnBOUm74XmkxLMf8Z2wlrhdx+nzJUc=; b=FptDDzkgh1J4Y1QDa3Es0YUdSue3hzuZ/0vcmtljqJyp+/hflSU7KlRbXzlgfWNko6 YSJ22GXbmXdajUBWcNWLE8n1VSZ6SMhmzk01ZQo/K27GEdqKwRKWvvZVMhAx+232cyac RpRIgD9AVecsz+RGzi6JWIjUh7w13u201sUm34vlY2I6GiGckDMRh0G2++5yT1SajGLY qs0n9o0TtUPfyo8EKufUckRFBD0xWU6k4zKhWYB5smpoREYFV/pB7ONQH5WrtudP51nb OlSrp3YFjCgAxqjSs7nEsMRwqi23x2xXNTL81LqO/VuFAqlco/Ztu99zwiWprIN9A7Ti 4Qag== X-Gm-Message-State: AHPjjUhq+1GNjv2w/Pn/jVO0kEXrRRyHsgJmvbv6F4e6eSsnO58W9ycH i5LHa0S0CPkQw0Hvg7ltVbo= X-Google-Smtp-Source: AOwi7QCHfWB3fmhi7W8FyXmwcl10k0C16EtosKFKOuS438wSvuUYxgsrACl579npoeQ0ysjc2d//gA== X-Received: by 10.28.9.137 with SMTP id 131mr1957482wmj.87.1504884983648; Fri, 08 Sep 2017 08:36:23 -0700 (PDT) Received: from localhost.localdomain (146.187.3.109.rev.sfr.net. [109.3.187.146]) by smtp.gmail.com with ESMTPSA id p199sm1689224wmb.28.2017.09.08.08.36.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Sep 2017 08:36:23 -0700 (PDT) From: Romain Izard <romain.izard.pro@gmail.com> To: Nicolas Ferre <nicolas.ferre@microchip.com>, Boris Brezillon <boris.brezillon@free-electrons.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@codeaurora.org>, Ludovic Desroches <ludovic.desroches@microchip.com>, Jonathan Cameron <jic23@kernel.org>, Wenyou Yang <wenyou.yang@atmel.com>, Josh Wu <rainyfeeling@outlook.com>, David Woodhouse <dwmw2@infradead.org>, Brian Norris <computersforpeace@gmail.com>, Marek Vasut <marek.vasut@gmail.com>, Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>, Thierry Reding <thierry.reding@gmail.com>, Richard Genoud <richard.genoud@gmail.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Alan Stern <stern@rowland.harvard.edu> Subject: [PATCH v1 06/10] ehci-atmel: Power down during suspend is normal Date: Fri, 8 Sep 2017 17:36:00 +0200 Message-Id: <20170908153604.28383-7-romain.izard.pro@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170908153604.28383-1-romain.izard.pro@gmail.com> References: <20170908153604.28383-1-romain.izard.pro@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170908_083640_991730_6D435F1F X-CRM114-Status: GOOD ( 10.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-pwm@vger.kernel.org, linux-iio@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-serial@vger.kernel.org, Romain Izard <romain.izard.pro@gmail.com>, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c index 7440722bfbf0..2a8b9bdc0e57 100644 --- a/drivers/usb/host/ehci-atmel.c +++ b/drivers/usb/host/ehci-atmel.c @@ -205,7 +205,8 @@ static int __maybe_unused ehci_atmel_drv_resume(struct device *dev) struct atmel_ehci_priv *atmel_ehci = hcd_to_atmel_ehci_priv(hcd); atmel_start_clock(atmel_ehci); - return ehci_resume(hcd, false); + ehci_resume(hcd, false); + return 0; } #ifdef CONFIG_OF
When an Atmel SoC is suspended with the backup mode, the USB bus will be powered down. As this is expected, do not return an error to the driver core when ehci_resume detects it. Signed-off-by: Romain Izard <romain.izard.pro@gmail.com> --- drivers/usb/host/ehci-atmel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)