Message ID | 1397125682-4955-1-git-send-email-gautam.vivek@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CFDD4BFF02 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 10 Apr 2014 20:12:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9C2C20829 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 10 Apr 2014 20:12:31 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6A55320826 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 10 Apr 2014 20:12:30 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYJm1-0002iB-4r; Thu, 10 Apr 2014 18:32:29 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYJly-0001zh-Rh; Thu, 10 Apr 2014 18:32:26 +0000 Received: from bombadil.infradead.org ([2001:1868:205::9]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYJis-0001lC-5A for linux-arm-kernel@merlin.infradead.org; Thu, 10 Apr 2014 18:29:14 +0000 Received: from mail-pa0-f54.google.com ([209.85.220.54]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYJ36-0006aR-Sj for linux-arm-kernel@lists.infradead.org; Thu, 10 Apr 2014 17:46:05 +0000 Received: by mail-pa0-f54.google.com with SMTP id lf10so4278652pab.13 for <linux-arm-kernel@lists.infradead.org>; Thu, 10 Apr 2014 10:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=lGB4RChUifLmCaj01ytFRf2cQ8FqElH1qSpr1QECcrE=; b=ht5xPmS7K6Ksd5HfaPZgEml+532N7ysRwf12HjEDqJF80cTa0AsLIUwKmcTDEMJ5Le 8mcr6hkCvIoLi7mBZBdIoMMpZzqefjt7Oumn0aV3G7UB19Z8a7kc5SXuUV2M3yZPyxIX sbW5nXPy5+JJx+fyUFbyaG3csrdSCEY2f6Y/56zvXt7peS7PqWX0KwfbyEe4/hyiorhK 1dTERSni7ZPXza2ExP/g2CYSh81JyNPkpHOSteEXO1MRsC9ZxBbOhfbYMGik0qPpox4C Y4Km9VmxZTwRLC0Iq0qn8Pzv64igsB0kevrDn61YAI8Wm9phGWqhsQrkTY0xxeQAFPk2 ovdQ== X-Received: by 10.66.189.226 with SMTP id gl2mr18611168pac.65.1397125690410; Thu, 10 Apr 2014 03:28:10 -0700 (PDT) Received: from vivek-linuxpc.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ph1sm18644652pac.14.2014.04.10.03.28.07 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Apr 2014 03:28:09 -0700 (PDT) From: Vivek Gautam <gautam.vivek@samsung.com> To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] usb: ehci-exynos: Return immediately from suspend if ehci_suspend fails Date: Thu, 10 Apr 2014 15:58:01 +0530 Message-Id: <1397125682-4955-1-git-send-email-gautam.vivek@samsung.com> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140410_104604_970562_BFDCC2B4 X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.5 (/) Cc: jg1.han@samsung.com, gregkh@linuxfoundation.org, kgene.kim@samsung.com, Alan Stern <stern@rowland.harvard.edu> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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> 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-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c index d1d8c47..7f425ac 100644 --- a/drivers/usb/host/ehci-exynos.c +++ b/drivers/usb/host/ehci-exynos.c @@ -212,6 +212,8 @@ static int exynos_ehci_suspend(struct device *dev) int rc; rc = ehci_suspend(hcd, do_wakeup); + if (rc) + return rc; if (exynos_ehci->otg) exynos_ehci->otg->set_host(exynos_ehci->otg, &hcd->self);