From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA436C433F5 for ; Sat, 8 Oct 2022 15:43:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229814AbiJHPnb (ORCPT ); Sat, 8 Oct 2022 11:43:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbiJHPn3 (ORCPT ); Sat, 8 Oct 2022 11:43:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDC154D271; Sat, 8 Oct 2022 08:43:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 889F3B80B8E; Sat, 8 Oct 2022 15:43:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B039C433D6; Sat, 8 Oct 2022 15:43:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1665243806; bh=sDbtbSBEwlPcqKBCDGmCUP5vci73/2jmERn/cTwYIVM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0iLdtjrPzaxRhvIhuQWhMsEnmR7QXzm4+YYyj0+e+8LGnxc/Q41CY0oRfsrkatqwt fFiEfyJyVDNFuw8HTYQwve0vNKcFlO9t6AzdFSLQqC8xtyZ2VXXgYgXaVXH+hC6brt hE5R2yBlSoSOjS1UWL5SdvZpx0AXj53AQHk9tSJU= Date: Sat, 8 Oct 2022 17:44:07 +0200 From: Greg KH To: justinpopo6@gmail.com Cc: alcooperx@gmail.com, balbi@kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, justin.chen@broadcom.com, f.fainelli@gmail.com Subject: Re: [PATCH] usb: bdc: change state when port disconnected Message-ID: References: <1664997235-18198-1-git-send-email-justinpopo6@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1664997235-18198-1-git-send-email-justinpopo6@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Wed, Oct 05, 2022 at 12:13:55PM -0700, justinpopo6@gmail.com wrote: > From: Justin Chen > > When port is connected and then disconnected, the state stays as > configured. Which is incorrect as the port is no longer configured, > but in a not attached state. > > Signed-off-by: Justin Chen > --- > drivers/usb/gadget/udc/bdc/bdc_udc.c | 1 + > 1 file changed, 1 insertion(+) What commit id does this fix? Should it go to older kernels? If so, how far back? thanks, greg k-h