Message ID | 20170908153604.28383-7-romain.izard.pro@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-clk-owner@kernel.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 6FDD76035D for <patchwork-linux-clk@patchwork.kernel.org>; Fri, 8 Sep 2017 15:38:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 604F1287F3 for <patchwork-linux-clk@patchwork.kernel.org>; Fri, 8 Sep 2017 15:38:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54DDF287F8; Fri, 8 Sep 2017 15:38:36 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F20DA287F3 for <patchwork-linux-clk@patchwork.kernel.org>; Fri, 8 Sep 2017 15:38:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932658AbdIHPiP (ORCPT <rfc822;patchwork-linux-clk@patchwork.kernel.org>); Fri, 8 Sep 2017 11:38:15 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35135 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756580AbdIHPgZ (ORCPT <rfc822;linux-clk@vger.kernel.org>); Fri, 8 Sep 2017 11:36:25 -0400 Received: by mail-wm0-f67.google.com with SMTP id e64so1985717wmi.2; 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=VfxhEgdnZjI4jBQHXkOHnsBwk2NIpt0zXimewEAxe0aj3x/VZAjBRlYJxTTHWePqxS ZnHjbZXMcem7o9oo3vOSAT2PPCDV9bS5OeZbT0zTe+PqqNFUc02mDBEUXNtAUVyT1Pb4 QNtLmCol+1mqxWwm/iLWqSLPeiLnHqDHfwuHt8Drb1l/Tc0Oq73LcksjjlPJ9jgQqXHo lFmAljbvePrsh7VCwwwprRqL6clhXyVWNPhAx2jRVk/2irTXCNLo/jZlLm+z+oLD4PTq M/wgl+4CGWodbVh2sP4uE3koCX9/J+d+EIsvAvGkL+HeKcqJv95eYOk6L3w6OZYaaz84 Y12w== X-Gm-Message-State: AHPjjUjaWM199yFaFcYPz0u6648yc0sSuLscJTvASv8/oeJuiYPaHu0r OLrLgwedxB0vn8oY1AD7eTE= 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> Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-mtd@lists.infradead.org, linux-pwm@vger.kernel.org, linux-serial@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Romain Izard <romain.izard.pro@gmail.com> 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> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: <linux-clk.vger.kernel.org> X-Mailing-List: linux-clk@vger.kernel.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(-)