Message ID | 20190627205240.38366-10-john.stultz@linaro.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-usb-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8D8C114C0 for <patchwork-linux-usb@patchwork.kernel.org>; Thu, 27 Jun 2019 20:53:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 845BB28703 for <patchwork-linux-usb@patchwork.kernel.org>; Thu, 27 Jun 2019 20:53:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7875F2870D; Thu, 27 Jun 2019 20:53:01 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 1663928703 for <patchwork-linux-usb@patchwork.kernel.org>; Thu, 27 Jun 2019 20:53:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726563AbfF0UxA (ORCPT <rfc822;patchwork-linux-usb@patchwork.kernel.org>); Thu, 27 Jun 2019 16:53:00 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:39813 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726553AbfF0UxA (ORCPT <rfc822;linux-usb@vger.kernel.org>); Thu, 27 Jun 2019 16:53:00 -0400 Received: by mail-pg1-f194.google.com with SMTP id 196so1550876pgc.6 for <linux-usb@vger.kernel.org>; Thu, 27 Jun 2019 13:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PDI+SV9GVbs38aQev8L4wXqHdjl41NulymWKKVfYEMs=; b=FT+BOXS8krhFYzP6qgkGdTRIuN8UEsdd7/J8Rk/TUCvNz5vD+gALlNCjhBRbIyg2+e MhGEv+r6MSWMg0hPYeg+IO7ul1XPK65iNNIVI6Z0n3TbWoWyTiOzVSbZ1TrHf3P5bsll wflv/q/ksLyXrQJQzt13c5gcCn8ChgNlwa8D+06Mp8/blyCxT/DNAUTeVhtYIwNTTRAH 4A1YRmiJzIY8sAIaajfuF2qEu/ZXMnUvTcYbEzmJ6DRI23NNxVHK3EGJZXFDvOONHjVy b/x/iCuPGw6JGjnvJCYoxYs7SzL/j19MXh3Z+y+kfPrn44MA+V+WR3aP1HHbvclQs3GO cEXw== 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=PDI+SV9GVbs38aQev8L4wXqHdjl41NulymWKKVfYEMs=; b=iOwOb6ciYPC56aMTPxUUEKQgK7b+upQUqicxi8ipkWvz4xOU/ZRvJRFxy5TFLMZ+cA YAljmKkcYQ5/5p7+l6p/t4UFZ5h1/DbDY08dXxxxW522Ap2cHjg8kCqY3E2Qyp0/iT/b obKBQHb2PTASl0kdhf+T5dzdikt8itI9Y0XHohWHxVAGEDuuIYHilT+JQJ0YL6M0nwQG AtVWjLQmsofCxMRto/hsOEMwJ0bPzC48QX86FY/NS6MDujsizuL4oKCjlnHVPeAExKpQ QpSZOkxgaN+3Y0WOftYAZ9dn8Vnu/Taq4PuFPmibxIaSp5BMDI8TWNSpBb0VJPmKqdK9 IepQ== X-Gm-Message-State: APjAAAWM+4OvX07/0xRK8kJlvoclh7mG7Mt9LNXATmxIdLjdpWjtBaMo jLvBvpmoNZgmYXbF4zeazxz/FA== X-Google-Smtp-Source: APXvYqyBb+wX2HfJ0wt7W/TgcNxknQdoGdW16YqdoS56BW7Ng+PgtitplGMtO7YyOovSzLxYZ3UKug== X-Received: by 2002:a65:500d:: with SMTP id f13mr5539367pgo.151.1561668779150; Thu, 27 Jun 2019 13:52:59 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id 2sm3674083pff.174.2019.06.27.13.52.57 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 27 Jun 2019 13:52:58 -0700 (PDT) From: John Stultz <john.stultz@linaro.org> To: stable@vger.kernel.org Cc: Jack Pham <jackp@codeaurora.org>, Fei Yang <fei.yang@intel.com>, Sam Protsenko <semen.protsenko@linaro.org>, Felipe Balbi <balbi@kernel.org>, linux-usb@vger.kernel.org, Felipe Balbi <felipe.balbi@linux.intel.com>, John Stultz <john.stultz@linaro.org> Subject: [PATCH 4.19.y 9/9] usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup Date: Thu, 27 Jun 2019 20:52:40 +0000 Message-Id: <20190627205240.38366-10-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190627205240.38366-1-john.stultz@linaro.org> References: <20190627205240.38366-1-john.stultz@linaro.org> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Fix scheduling while atomic in dwc3_gadget_ep_dequeue
|
expand
|
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 843586f20572..e7122b5199d2 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -177,6 +177,7 @@ static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep, req->started = false; list_del(&req->list); req->remaining = 0; + req->needs_extra_trb = false; if (req->request.status == -EINPROGRESS) req->request.status = status;