Message ID | 20190628182413.33225-2-john.stultz@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patches@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4020562ilk; Fri, 28 Jun 2019 11:24:19 -0700 (PDT) X-Received: by 2002:a17:90a:3aed:: with SMTP id b100mr15005340pjc.63.1561746259835; Fri, 28 Jun 2019 11:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561746259; cv=none; d=google.com; s=arc-20160816; b=mcfcA1wu4nHjZ69SGy6ZmelpjTIRvE+8EGBTCPG+qKFoIVTqT87jsjQHFrmmVg1gfV slw5FAGgzONtaezElpejnKUPePGYmBlKrqSvkYP3hc+6CpjvcmCJ3XOj8JvK6r9BJLYg w5pngJIi8RYdxxIdVkiVM3+X20CprNEghqnhCWYUsv/SgwIjV7bWYfm4dynWLChc0Vzw ptyoGFHYVLPem9zxK0z6m/2KOCP0uMoVmpjQ0dp9EoGHLXUSQfMpWYJLN3ajpCL+OcYZ VPve+1R5q8NKC5+Za6780VqZhQIIJPPuqRpSzu4cbQxYgc5tHjdjv/0xbhcJkSb3WTUW JASQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=80ekKnnJbJ+N9S8CSdtwlr9DiGvzY1b4sXIFJmFharo=; b=rpRkqtsI9h6Fo5r8a28UGP2sPhQY9ySynBDzaW50xjiVPYz11ZICzZPfU8hx+5vJlc Eg9qt+ZUdjkXUhV5XFPAxqPauzcUaVsRUelhT2ZDC4hAgc3Gkj1hO2PhRMUWfSAiVFb7 b2vwOnXTjuz6pZqUO4xHb0auZsdmpu3NepFhVcygye3s3xqJrjPuRNf8OS+bL5vnmCjj zTL7VJksmne326YkhKP51rI27ioOUJ82QnKVoOfcEm1oXXh/KCKaPSP1NXUlDbplCwpF 4BEPmXcZBwTvAnwTDzhE9kQrxlZkKb45FFr8db679cgrQa5nekssUM6XyWhgLuZcDLj2 AlpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N7n5rsXU; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <john.stultz@linaro.org> Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id v13sor1289255pgn.35.2019.06.28.11.24.19 for <patches@linaro.org> (Google Transport Security); Fri, 28 Jun 2019 11:24:19 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N7n5rsXU; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=80ekKnnJbJ+N9S8CSdtwlr9DiGvzY1b4sXIFJmFharo=; b=N7n5rsXUCKOo6iC/j6Yoz9nSlgDmhyVVXfwTfbqvI75MhNqSHBZsu4UTtnGk8jwnRF JqwdgJqAPKCBXPBDgBNzH9lPdRsDPtse3H4Vy+BCQxCwiDK6eWz/q4Z+H7DWjEmhmfPH 7NMrKie2+MIA0cv9h52OEILExdLi9Hcd4CTPftfm2fuLKQXzIjSGTcRhFX//WCnMQguZ dEZvZpfGFB0AvGkSJHD24Fc9fN/OYEuugW6/Zde80HoCUdKux8R65Q7z2wW4ba87gjrr mOP+oLCf0Qr+r1i0D6AtaTcua9wlmRg2n820LMTDC32lDtniMVCg35R0eLhIUN/hDczp Muow== 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=80ekKnnJbJ+N9S8CSdtwlr9DiGvzY1b4sXIFJmFharo=; b=qXgeu2eTvxroq2GzzX4A//jR/DJQ3i/EHWALyCSuzxB7Y6c2HtNgh+NExbeTYHSHHe JX+IzLa3iow5QPzpmZNxtRHxPSLVcD+RACS2qd16WPX5qmIl2TQYRyclO9hT8DhLQ3gU ZEg/Hom6ppxP6ppKH1JvR4tPdSwlkoCNtRNNGVncUKYNKtvQ1hVNOslaQRgD5cCn644j c6b7AYCmJAwDpbb9p1inRRJo/H6OL9a91IR+8PbI49QH4XR0fSBGTQr077JDS+ouY8L8 wXJl1lx2L+qMPK2kMnWPTtAFcJZe5s80jIzANyabCbzf07/FH8Mk7ubBbYa/RFYK4ruV asog== X-Gm-Message-State: APjAAAUW7rii/0HU5tEiAzAIbNh7tQDitwRH09Esu6A7MRI2PP2w0grS HJ9smALjx0jUWbDqkueEk6kNZy3nIObogA== X-Google-Smtp-Source: APXvYqyYnBAyWCgFARuxspznmYO7UnkE0AX8irdmIt+l6LSBhyP2TvzeVO9riPN40MErj5bcpzk/jQ== X-Received: by 2002:a63:db07:: with SMTP id e7mr6227730pgg.110.1561746259294; Fri, 28 Jun 2019 11:24:19 -0700 (PDT) Return-Path: <john.stultz@linaro.org> Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id s15sm2916223pfd.183.2019.06.28.11.24.17 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 28 Jun 2019 11:24:17 -0700 (PDT) From: John Stultz <john.stultz@linaro.org> To: stable@vger.kernel.org Cc: John Stultz <john.stultz@linaro.org>, Fei Yang <fei.yang@intel.com>, Sam Protsenko <semen.protsenko@linaro.org>, Felipe Balbi <balbi@kernel.org>, linux-usb@vger.kernel.org Subject: [PATCH 4.19.y v2 1/9] Revert "usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup" Date: Fri, 28 Jun 2019 18:24:05 +0000 Message-Id: <20190628182413.33225-2-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190628182413.33225-1-john.stultz@linaro.org> References: <20190628182413.33225-1-john.stultz@linaro.org> |
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 65ba1038b111..eaa78e6c972c 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -177,8 +177,6 @@ static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep, req->started = false; list_del(&req->list); req->remaining = 0; - req->unaligned = false; - req->zero = false; if (req->request.status == -EINPROGRESS) req->request.status = status;
This reverts commit 25ad17d692ad54c3c33b2a31e5ce2a82e38de14e, as we will be cherry-picking a number of changes from upstream that allows us to later cherry-pick the same fix from upstream rather than using this modified backported version. Cc: Fei Yang <fei.yang@intel.com> Cc: Sam Protsenko <semen.protsenko@linaro.org> Cc: Felipe Balbi <balbi@kernel.org> Cc: linux-usb@vger.kernel.org Cc: stable@vger.kernel.org # 4.19.y Signed-off-by: John Stultz <john.stultz@linaro.org> --- drivers/usb/dwc3/gadget.c | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1