Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2501485rwb; Sat, 8 Oct 2022 08:52:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4mIo8yjmhdIsUZRUlRRE9idt0Zb4X845aaNKjbxC3WKWe8ln33/Kv00cmMw0pUMAJyapvO X-Received: by 2002:a63:81c7:0:b0:451:90ea:3f06 with SMTP id t190-20020a6381c7000000b0045190ea3f06mr9384935pgd.458.1665244373704; Sat, 08 Oct 2022 08:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665244373; cv=none; d=google.com; s=arc-20160816; b=lXYAcs87pw7dTvCFi1UgcmcK1roYVaadNVapYa3zM4K7oEHoQWOZRtTimKYGY9RwKp LKT5M4uOYljdxV5d1/HdfjhqOG7CJCKoOKUQwpe3OF9ddInODTcaCySNG2y+Ha5o2V/t klmXzjUxn7CdeydXzROztux81ptOvGCm2KANWhMmdOjoUkZBtv8htG672lhcCipADsCr 9hW5mWXIsJNPa9kc+qE6+pDjiZoq299XygLxbO1IpTa5yZKxPtHcvkw/mQXqweyfIgdn 8fi67UBpUznEMjRBI3+/DbMYHAgGuzdniRt+xZPoEz2btQGOmLwOUVVFli/rrcWDg5wb Sl9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/3Sl0QH7laxxbmIYO0NH0yTMlDGtznhLPVh+3adavFM=; b=o0hAuwGf62PFzYtbvjq191l6XykAPFGIGkSkZByPQWslUmSYVikc2px/iMBI1c7kf2 4IutIwcz8miYtVzZ7SqtIja+fN0y4YQMEw+GpfXMq0oVM0+RT1K/wlyDIfsrY8Srm/BP FDpdzvjRrOBGoKTYGLWLajVl8R1jJFcam/3DfsbV/UieON1Zhcrv9ZIt+604BCL7FyuH nXHZ7BZT42ANcUhfHLlC/4pXVhMpR/A+g/Vjk02ChnfivhItsCJD0vQ7143dKnV+wdNf Z3JMMAIjB21snlAMBUI00mSHg4+VcE6O2TyxEyFNK3GMMekL/cpdWXLJTq+bA8S+5KD3 MBGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0iLdtjrP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a170902ac8600b001769b63ec65si824263plr.483.2022.10.08.08.52.41; Sat, 08 Oct 2022 08:52:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0iLdtjrP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229834AbiJHPnb (ORCPT + 99 others); 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> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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