Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3051224ybi; Tue, 2 Jul 2019 01:10:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0B29R3OOfeAQr4vZUPfY+hZvI25dh2uFz58oCEXcGk5pBwphf0U6oHGTJAzolMsKaAEOR X-Received: by 2002:a17:902:b191:: with SMTP id s17mr28724516plr.266.1562055010421; Tue, 02 Jul 2019 01:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562055010; cv=none; d=google.com; s=arc-20160816; b=qyQO4WKplH0vkfJMhlTLRpZGK2I/pPL9E18TbfHOjFljPc7dL/x36bsCmCU+3DNY8r m+s5TrZjSnFqgDi6BJajF+oaRGAa4n3tlIL3rb7U9QDT2KkgVn/QuMu+r1bea/x8W0PC KvY8HQFVcWHvupWe/11auyCIBsW3HEdW9BqzwtgVdqMKZxbrVcFg7hYAg7hFf7roZBVL 566QeY323qiNqx8UYYGN9HSDFwAosUikpqUvrFLdOc6H3FPAHTHZUCClQaX3DKdr9Yc3 aKfj5qXBAIa7nw0dVnPUu+tTVvMZnkUAljZAeTxONeTMWff1uWLWZrWfev+oC1e9r4Uh bPBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=uuMwl9E1dktv//1ZsFXn0auHm9MdcmHO/6AU+w4kIIU=; b=zzA7Ad0uf4vtWF80VXhYiMcZzV6Uy2reUoYkbM0o0TzKFYDikp2fg16ya7NBzQPvGZ kga0zYOKd79LfABdWz0h4QRg/C3iUp65k/MkiCLgZfUnUphOULyyOnRSgPv5uQSfkz8E YymYlUAVoYZy4cMsCY6EmoL9T2Qr83TmTK32khHRpFsKKhonAM5vp763fNj/HmP3eJRf pb6I8V2IDiHQ3Mb2ZOG6bfRKfMi5h4IMq64ot6hf4hgkn9/bes7qmeXKCSHaFnUFG5Sq 7fEKwRU6j6Vf8eMn+o7nzdbffcy+gcreI951kSGzRaXTeHDgCCDuA7ja5zr4s8GAY1Uh ybUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WPfxFNqB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6si12044472pgk.52.2019.07.02.01.09.55; Tue, 02 Jul 2019 01:10:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WPfxFNqB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728352AbfGBIIB (ORCPT + 99 others); Tue, 2 Jul 2019 04:08:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:55452 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727269AbfGBIIA (ORCPT ); Tue, 2 Jul 2019 04:08:00 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C631821851; Tue, 2 Jul 2019 08:07:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562054880; bh=31uGmOET+J+RLoI4uarHGQiKqoONVy4X9J/20Qq7JZk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WPfxFNqB7WL8I5TznqGxEWHU+AJFRisrlfo1+toeaPjZzz0ub2aSWqZDwPnZRIkpw hgRdy4mzGbri5R3bE4faBs/G50hfnTuelzhS6dpJ/IiYEgY+RpBYo+IAXSlU51hZsk RLq2NwhukpARyZDl9mTBZtflvHKbbOng18lBIjjU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Fei Yang , Sam Protsenko , Felipe Balbi , linux-usb@vger.kernel.org, John Stultz , Sasha Levin Subject: [PATCH 4.19 23/72] Revert "usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup" Date: Tue, 2 Jul 2019 10:01:24 +0200 Message-Id: <20190702080125.875012893@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190702080124.564652899@linuxfoundation.org> References: <20190702080124.564652899@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: Sam Protsenko Cc: Felipe Balbi Cc: linux-usb@vger.kernel.org Cc: stable@vger.kernel.org # 4.19.y Signed-off-by: John Stultz Signed-off-by: Sasha Levin --- drivers/usb/dwc3/gadget.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.20.1