Message ID | 1403509890-14103-8-git-send-email-r.baldyga@samsung.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBCHN3LUNYYJBBE52T6OQKGQEJHAMHFI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CC349203AC for <linaro@patches.linaro.org>; Mon, 23 Jun 2014 07:53:55 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id rd18sf42279566iec.10 for <linaro@patches.linaro.org>; Mon, 23 Jun 2014 00:53:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=leRiU5qpJcXec3drlrVk+WbXVWJAEnQd8JGrkI9WNsQ=; b=OsHo07/+8/5t5NMfsm+LjR5KuKaBCupEKcNjJOmVYw5zS7T5IpGwBTEbxfIeSBnxmP YfS3hHdgW1yxdUBCaw9ZEszeU6pX2nvXEF2P8k4n9xRkwkqfXR9qxdQhcoP9KLUdF815 BD1nqvOQLfPk8hVmoZBMOcJBJbAiVLSqt9/GMm10b8HRdd20OUgXEiHAXQx7x9PCI6JJ nxUlkgDniYQJtR7aT5S2o10h4JNVt4QyYa5LNCK6bacodIs7aIQr0jYjPnfP9QRdtLLi N4D091ENMeKsJZO0+VWkgzErfu4irFvy201g6atj/fy6zLxuMThTAqPCjBftt0MblxHn NEZQ== X-Gm-Message-State: ALoCoQk76aVReWcRv5sLidmV9/OG42CUG7xFfChrZ0A+bwYW/jIxNlayHOeU03amMNWBMFKZBLGN X-Received: by 10.182.213.135 with SMTP id ns7mr8308373obc.46.1403510035266; Mon, 23 Jun 2014 00:53:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.50.80 with SMTP id r74ls1771592qga.71.gmail; Mon, 23 Jun 2014 00:53:55 -0700 (PDT) X-Received: by 10.52.96.8 with SMTP id do8mr14946223vdb.4.1403510035174; Mon, 23 Jun 2014 00:53:55 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id rn6si8557019vcb.80.2014.06.23.00.53.55 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Jun 2014 00:53:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.176 as permitted sender) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id db12so5718444veb.35 for <patchwork-forward@linaro.org>; Mon, 23 Jun 2014 00:53:55 -0700 (PDT) X-Received: by 10.58.186.207 with SMTP id fm15mr18160194vec.4.1403510035118; Mon, 23 Jun 2014 00:53:55 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp112368vcb; Mon, 23 Jun 2014 00:53:54 -0700 (PDT) X-Received: by 10.66.65.204 with SMTP id z12mr26335496pas.97.1403510034425; Mon, 23 Jun 2014 00:53:54 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id go5si20638005pbc.147.2014.06.23.00.53.53; Mon, 23 Jun 2014 00:53:53 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752631AbaFWHxw (ORCPT <rfc822;mturquette@linaro.org> + 9 others); Mon, 23 Jun 2014 03:53:52 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:19384 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752511AbaFWHxt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 23 Jun 2014 03:53:49 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N7M000E839N8A00@mailout4.samsung.com>; Mon, 23 Jun 2014 16:53:47 +0900 (KST) X-AuditID: cbfee61a-f79e46d00000134f-1f-53a7dd0b121f Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 14.A1.04943.B0DD7A35; Mon, 23 Jun 2014 16:53:47 +0900 (KST) Received: from AMDC2122.DIGITAL.local ([106.120.53.17]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N7M00JX335V68O0@mmp2.samsung.com>; Mon, 23 Jun 2014 16:53:47 +0900 (KST) From: Robert Baldyga <r.baldyga@samsung.com> To: balbi@ti.com Cc: paulz@synopsys.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, m.szyprowski@samsung.com, andrzej.p@samsung.com, Robert Baldyga <r.baldyga@samsung.com> Subject: [PATCH 07/11] usb: dwc2/gadget: break infinite loop in endpoint disable code Date: Mon, 23 Jun 2014 09:51:26 +0200 Message-id: <1403509890-14103-8-git-send-email-r.baldyga@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1403509890-14103-1-git-send-email-r.baldyga@samsung.com> References: <1403509890-14103-1-git-send-email-r.baldyga@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBLMWRmVeSWpSXmKPExsVy+t9jQV3uu8uDDU6sl7WY9bKdxeLg/XqL 5sXr2Swu75rDZrFoWSuzxdojd9kttk+ZzmTx4PBOdgcOj/1z17B79G1ZxeixZf9nRo/jN7Yz eXzeJBfAGsVlk5Kak1mWWqRvl8CVserqXqaCJ6wVnQ8fMjcwPmHpYuTkkBAwkZjz4Q4zhC0m ceHeerYuRi4OIYHpjBLX729gh3DamST2LlrFDlLFJqAjseX7BEYQW0RAQGL9i0tgRcwCJxgl Ov5fAGrn4BAWCJe4OlEPpIZFQFXi37TtYNt4BVwlOt+cYYLYJidx8thkVhCbU8BNYv3NhWDz hYBqFp2exj6BkXcBI8MqRtHUguSC4qT0XEO94sTc4tK8dL3k/NxNjODweia1g3Flg8UhRgEO RiUeXg235cFCrIllxZW5hxglOJiVRHgbG4BCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeQ+0WgcK CaQnlqRmp6YWpBbBZJk4OKUaGHtMXFp2O0c+EPpq+O3Np3kiTBNjf3NvL/jEci4hw3LKWbcL QdNun9i94fcxJv2ZC/OfNs35lCniwj2xIegSz56bMQtK7+tmNX950vzu4JLDfm4KnFInDbb9 3Js37cfd1ev+fqjYVKj0sfL49PsnXfM2Ml4qeWYn6/XNk79l4oEvyv+em4n6L96nxFKckWio xVxUnAgAkDZ/jysCAAA= Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linux-kernel-owner@vger.kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 21d21de..2220882 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -1652,6 +1652,7 @@ static void s3c_hsotg_txfifo_flush(struct s3c_hsotg *hsotg, unsigned int idx) dev_err(hsotg->dev, "%s: timeout flushing fifo (GRSTCTL=%08x)\n", __func__, val); + break; } udelay(1);