Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1353220ybp; Thu, 17 Oct 2019 11:29:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwd+G9mqqroVygEH+hFiGM7zQhWeWJg8DHmLV5oYNk5RgQLwD5xtDaNDAE1E7L+PpTPbyl X-Received: by 2002:a17:906:f15:: with SMTP id z21mr4916249eji.119.1571336989489; Thu, 17 Oct 2019 11:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571336989; cv=none; d=google.com; s=arc-20160816; b=JjedxbNQQisXfbykuUoI0DB+KQBIL2Kejf+/Hf/4QqZwcINroSaUwAxcXlO43dmRRY qELTCfZyhqwPlYulQ691w1QY5dSJ9CTsD434ba6u1iJ1hRRNG0dcXrf/VaV8tfp/siOQ Dva9TDpvFkkWxFl8b0R7XkWy2VLmmRGT4mUfVDFjSKxa4LiG1ArMiKZ1pz4WLbJvzCER pe2FpWHZpqYk2HAY3Hux59iTYxe2P4eK7+DZDCusvPrUUzdZXVBPFfwDEe+eHcPnzIJI TyQdRlvctC9+/3VmZyHfMLOG1q3vLBOCQz4LWl3G9MjTxZloIkpVNdea0pxYF7gIpUvY J0CQ== 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=4nvuu8bhnQXrRe+EoLormp9fGv2UezuWJyNiOqF4g/4=; b=VgZ+lZ6GGQjY+sVujBWv1S4GMSIrhlbP75dfboyEHuglZlGWn4EZwZ3Z/Vh/MDjB7f psCf9W4SR4gjL9GVTgTtz3wAhItHxq7enI/6S1mjMY3Cw6GjyHCYP7p2qN69v1WluXQL LM6AfqV/IaDyyPzj3k7ljR3GO1CsniDnPc5E03oMmAgYI72qUJ8XgNzVR2sIufscEHYK TybzwWBDBGEW7wlXZY1lKvFj4bKwTnxyW52LHYXwXRB5/2tXtCgQOXe+K/zmojH+9PgP 86pyEbQCqimTGQAnbvKwpgNhr2skSdKm8QHq9ktq2QACgsogOIYYqKUVf/V6JUgbW7LF FPsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=reQYFxEZ; 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 q5si1757717ejb.174.2019.10.17.11.29.26; Thu, 17 Oct 2019 11:29:49 -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=reQYFxEZ; 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 S2406990AbfJPWGe (ORCPT + 99 others); Wed, 16 Oct 2019 18:06:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:52158 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438171AbfJPV6b (ORCPT ); Wed, 16 Oct 2019 17:58:31 -0400 Received: from localhost (unknown [192.55.54.58]) (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 C360521928; Wed, 16 Oct 2019 21:58:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571263110; bh=sGsJKFhrpuqfRmJ6WDyPzNWLyv7nP8hm0PYNR2JdHW0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=reQYFxEZCIMDMoXsWKSX3D+YJjxCrwYBwdb6u9OP/bccqDSKtVBcDxjNypJ2aQW2m a58IiGEksQ0tM3jipEZjFzTNy1N762Oo5nSU5LAbMmaQkK0RFZHSEAlTUbAhTyMVCi UkWrKU7niwltC+gBRIUy9lRD4KUHnITDDhkZyyow= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yoshihiro Shimoda Subject: [PATCH 5.3 034/112] usb: renesas_usbhs: gadget: Do not discard queues in usb_ep_set_{halt,wedge}() Date: Wed, 16 Oct 2019 14:50:26 -0700 Message-Id: <20191016214853.497255053@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191016214844.038848564@linuxfoundation.org> References: <20191016214844.038848564@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 From: Yoshihiro Shimoda commit 1aae1394294cb71c6aa0bc904a94a7f2f1e75936 upstream. The commit 97664a207bc2 ("usb: renesas_usbhs: shrink spin lock area") had added a usbhsg_pipe_disable() calling into __usbhsg_ep_set_halt_wedge() accidentally. But, this driver should not call the usbhsg_pipe_disable() because the function discards all queues. So, this patch removes it. Fixes: 97664a207bc2 ("usb: renesas_usbhs: shrink spin lock area") Cc: # v3.1+ Signed-off-by: Yoshihiro Shimoda Link: https://lore.kernel.org/r/1569924633-322-2-git-send-email-yoshihiro.shimoda.uh@renesas.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/renesas_usbhs/mod_gadget.c | 2 -- 1 file changed, 2 deletions(-) --- a/drivers/usb/renesas_usbhs/mod_gadget.c +++ b/drivers/usb/renesas_usbhs/mod_gadget.c @@ -723,8 +723,6 @@ static int __usbhsg_ep_set_halt_wedge(st struct device *dev = usbhsg_gpriv_to_dev(gpriv); unsigned long flags; - usbhsg_pipe_disable(uep); - dev_dbg(dev, "set halt %d (pipe %d)\n", halt, usbhs_pipe_number(pipe));