{"id":819477,"url":"http://patchwork.ozlabs.org/api/patches/819477/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-mtd/patch/20170928094627.31017-6-romain.izard.pro@gmail.com/","project":{"id":3,"url":"http://patchwork.ozlabs.org/api/projects/3/?format=json","name":"Linux MTD development","link_name":"linux-mtd","list_id":"linux-mtd.lists.infradead.org","list_email":"linux-mtd@lists.infradead.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170928094627.31017-6-romain.izard.pro@gmail.com>","list_archive_url":null,"date":"2017-09-28T09:46:24","name":"[v4,5/8] ehci-atmel: Power down during suspend is normal","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":false,"hash":"54119a14a19850b2c2940708a5fbb009612a5b67","submitter":{"id":8236,"url":"http://patchwork.ozlabs.org/api/people/8236/?format=json","name":"Romain Izard","email":"romain.izard.pro@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-mtd/patch/20170928094627.31017-6-romain.izard.pro@gmail.com/mbox/","series":[{"id":5526,"url":"http://patchwork.ozlabs.org/api/series/5526/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-mtd/list/?series=5526","date":"2017-09-28T09:46:23","name":"Various patches for SAMA5D2 backup mode","version":4,"mbox":"http://patchwork.ozlabs.org/series/5526/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/819477/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/819477/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"aFJnzmma\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"vWx4FWki\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y2qcs6yRLz9t3v\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 19:48:13 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dxVQJ-0003eH-40; Thu, 28 Sep 2017 09:48:03 +0000","from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dxVPM-0002SD-O2\n\tfor linux-mtd@lists.infradead.org; Thu, 28 Sep 2017 09:47:08 +0000","by mail-wm0-x244.google.com with SMTP id m127so1054489wmm.1\n\tfor <linux-mtd@lists.infradead.org>;\n\tThu, 28 Sep 2017 02:46:46 -0700 (PDT)","from localhost.localdomain (146.187.3.109.rev.sfr.net.\n\t[109.3.187.146]) by smtp.gmail.com with ESMTPSA id\n\tz10sm3272395wre.6.2017.09.28.02.46.43\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 28 Sep 2017 02:46:44 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References:\n\tIn-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID:\n\tContent-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n\t:Resent-Message-ID:List-Owner;\n\tbh=Mhxsf/pbPkI3SJQemZTuZV+K0AWm6ZqioXP3RxgxZgc=;\n\tb=aFJnzmmaDxAIzwaNcQ76+pG3eN\n\t1X11SI4GpE+u/srYZAPn9J21aJgQKFCpT/316GJCjCZZ0YBbI03LCnU46fuTlrNotDMBiDyLv8a2z\n\tdUc7xF/YjOS1YB4dO/5kK7BAlSDY8FVTw2TJ0Bs5uqLLTmiafLykWajaHRsjvoIl6BlRZqbsBv4eJ\n\toXTc6bUbSpEEBO0u64zt9lxhu7pBFsFc9oa4Z+U1Pb55Jcs1wKIAF0CMjQUc5n7fMk3+lJ+5AGY5K\n\twfL781990/3mBxqbtyfsQfN0i7l4R4RJy0sDpYEgq5DJeHpKzpK3N24GSPYPK9Eo6oba42YxG5E7M\n\tf7seD+5Q==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=eKJJGM2P5nU+uYh8EoUwdBNRZw/Ddz+yhB47PcZ+a/0=;\n\tb=vWx4FWkicTubDyGDjpCOulDSm0sWQ2yHje+kJgWMLiCNgdtfCiCPFFArEAJm+lsDsn\n\tUmvxoG9+G4KSAL8UadclAzzaBC4Js7DF73N3qf/GmXVcaGdJ+W4+JoAEkg1gDiNiHwyK\n\t5dtXzfnqxWZbqdBaKATu1WwYCMo30+UIvgAh4LE/cE3itUmlQ2udgLBcPaV24o2Q7cNa\n\teb6m2Bi3n0u/P8GZpbdboCSLGsMqimKCotmV17GxgCSFTDV+6UB5C2YA7UhINmOOnF5y\n\tvAJT5n2aqHuEQCWo40e01nbkI3hKjILzvsxTngFTCA9MpF722Q/PpH3PwtxoFt81wUx9\n\teb5g=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=eKJJGM2P5nU+uYh8EoUwdBNRZw/Ddz+yhB47PcZ+a/0=;\n\tb=M0u4gNbLJvn5Bu3EfKyMeCe0eaF02/Th/IQBZpDtCb4VRrfqSYUdREOMGCAXc3t4OT\n\t5wTKxCtgk7Tos9QeMGVIh+8fVKngQkwnSISoDUSVgyS7rqeOB4qHSBwpnbMSWg5pBZ0c\n\tJGGFnnSb2n+uOjlsXUFvEmArAB1KjjIkHxYFzoInG0W7+pXjoqXMxbQM9J0tuWVJ+5/l\n\t43m4zonhLmdf6WbUP7iKEQDkHMtAwpuUJ6gtqhfmFnjv1fbvdNSm8ND6NqzdnCJCFAJN\n\tmx2sIDddgIvlJGcU3R4GntedW+UahGFR7WuNmN00n0l3C3u3MLNCI3haZ/H7AYUplx8x\n\toOKQ==","X-Gm-Message-State":"AHPjjUiV1EztqeJAKIdf4nErjfh+3Tsdmc5vA0eCa+ank/YSX51EfQJg\n\t6BVrHVoxpzJOxMuzcFXSBw8=","X-Google-Smtp-Source":"AOwi7QCoxtRe7b/1eLS94XTVWGb7k6k8pu8dZyI9lz9BhQH9ZGTTsKPp2nRRiMq7ESBBvT+67BLp+g==","X-Received":"by 10.28.234.72 with SMTP id i69mr501777wmh.80.1506592004842;\n\tThu, 28 Sep 2017 02:46:44 -0700 (PDT)","From":"Romain Izard <romain.izard.pro@gmail.com>","To":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tMichael Turquette <mturquette@baylibre.com>,\n\tStephen Boyd <sboyd@codeaurora.org>, Lee Jones <lee.jones@linaro.org>,\n\tWenyou Yang <wenyou.yang@atmel.com>, Josh Wu <rainyfeeling@outlook.com>, \n\tRichard Weinberger <richard@nod.at>,\n\tDavid Woodhouse <dwmw2@infradead.org>, \n\tBrian Norris <computersforpeace@gmail.com>,\n\tMarek Vasut <marek.vasut@gmail.com>,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>,\n\tThierry Reding <thierry.reding@gmail.com>,\n\tRichard Genoud <richard.genoud@gmail.com>,\n\tGreg Kroah-Hartman <gregkh@linuxfoundation.org>,\n\tJiri Slaby <jslaby@suse.com>, Alan Stern <stern@rowland.harvard.edu>, \n\tLudovic Desroches <ludovic.desroches@microchip.com>,\n\tNicolas Ferre <nicolas.ferre@microchip.com>,\n\tAlexandre Belloni <alexandre.belloni@free-electrons.com>","Subject":"[PATCH v4 5/8] ehci-atmel: Power down during suspend is normal","Date":"Thu, 28 Sep 2017 11:46:24 +0200","Message-Id":"<20170928094627.31017-6-romain.izard.pro@gmail.com>","X-Mailer":"git-send-email 2.11.0","In-Reply-To":"<20170928094627.31017-1-romain.izard.pro@gmail.com>","References":"<20170928094627.31017-1-romain.izard.pro@gmail.com>","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170928_024705_010217_0F6C81B2 ","X-CRM114-Status":"GOOD (  11.98  )","X-Spam-Score":"-2.0 (--)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (romain.izard.pro[at]gmail.com)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"linux-pwm@vger.kernel.org, linux-usb@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org,\n\tlinux-serial@vger.kernel.org, Romain Izard <romain.izard.pro@gmail.com>, \n\tlinux-clk@vger.kernel.org","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"},"content":"When an Atmel SoC is suspended with the backup mode, the USB bus will be\npowered down. As this is expected, do not return an error to the driver\ncore when ehci_resume detects it.\n\nSigned-off-by: Romain Izard <romain.izard.pro@gmail.com>\nAcked-by: Nicolas Ferre <nicolas.ferre@microchip.com>\n---\n drivers/usb/host/ehci-atmel.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)","diff":"diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c\nindex 7440722bfbf0..2a8b9bdc0e57 100644\n--- a/drivers/usb/host/ehci-atmel.c\n+++ b/drivers/usb/host/ehci-atmel.c\n@@ -205,7 +205,8 @@ static int __maybe_unused ehci_atmel_drv_resume(struct device *dev)\n \tstruct atmel_ehci_priv *atmel_ehci = hcd_to_atmel_ehci_priv(hcd);\n \n \tatmel_start_clock(atmel_ehci);\n-\treturn ehci_resume(hcd, false);\n+\tehci_resume(hcd, false);\n+\treturn 0;\n }\n \n #ifdef CONFIG_OF\n","prefixes":["v4","5/8"]}