Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp903367rwi; Mon, 10 Oct 2022 08:37:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ctlLWz0mgTndmeORHWKXVTM2rSBOLHt4Urhey/uxxvZ5fxLI93wh8zqm+uxpJN74hD1jX X-Received: by 2002:a17:90b:1b41:b0:20a:f406:2b90 with SMTP id nv1-20020a17090b1b4100b0020af4062b90mr21822713pjb.7.1665416260586; Mon, 10 Oct 2022 08:37:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665416260; cv=none; d=google.com; s=arc-20160816; b=sWny3IAOhQ3rajNAnqRRmL3fl4wUFA/V5naA2y46WvwWRt0+msAFL9uU9oz3TwYNkd YUh7ONswb5sI8Jd20f5HppzwCtnCNO06z4ZD7vKjxNCw4+PqsIMTLrBi8LIOwCr5xaMh bHCtEhUhswihE4QD9p+K7sc6xgrqqXC1K8j5uPrcSV/BGYO1GvAdOwJ/WrSW9AzCkzA+ 3MoSnntZaZByXcioJ3i/Av4LX7vQQS+VVeL0Iz3WPgZtfsF03WrxRJfjNxhDC9iypooF 2K5Lvo4nHMt0p6TyRmSR16xhpTsAxlXYm+AzqH3iXlX8AcKNNdJ3qyKuBpFnT84yJT+4 d/Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=DdMsETWHOSqGIQCrG8wpn1jB4vnsTdM3+A71vvrxY5c=; b=KWzQQAdi1pAJQUCDZYfX8yFE37I+RiqVLsISUHO/mKzpGEh2UpMchxPBsyeCZaH+Af qyAaOzzpXZVoFZ+QdOer3rYHimvaz7mTmbTwDPdRioMXbr5RgPf8FPIiMNM3ezNn9R4S 51bQ82own5rU0A3ErNNXEBIJUfoY93/RH0rZqx2A0CrsV8R6nxtDjZQxkEo512HrrEkY Mkc1uuBkEZ7t1RP69Gmy8QrA7v0W+NWB8Tv4o0Stoj7Iwf13zPjsiIe7CfDVtrPMwoHe KJV43QUZHX4b47ddjnuruWTkV02f2DFLeK5AnbDe+wEOMy52KVEbjzVlfrWmoIU1nQun tFYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ah5PMwUr; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a654c0b000000b004597ddac21csi543589pgq.80.2022.10.10.08.37.28; Mon, 10 Oct 2022 08:37:40 -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=@gmail.com header.s=20210112 header.b=Ah5PMwUr; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230012AbiJJO7M (ORCPT + 99 others); Mon, 10 Oct 2022 10:59:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230011AbiJJO7C (ORCPT ); Mon, 10 Oct 2022 10:59:02 -0400 Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 958A33ED5D; Mon, 10 Oct 2022 07:58:59 -0700 (PDT) Received: by mail-qk1-x72f.google.com with SMTP id d13so460742qko.5; Mon, 10 Oct 2022 07:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=DdMsETWHOSqGIQCrG8wpn1jB4vnsTdM3+A71vvrxY5c=; b=Ah5PMwUr/0M4N37/AicCYt479YVoh/WHJrsYHrVACcmV03OTDr2nKDAG1jdLpWQ6Je YCbDWJmWyWELcy+0Xt1y1FnujIm7cdSVwKEZRel95pbBW3rtCVc+Pe3iUi1dalhWLUEN A7tkfhLGC6JFfg4gp4Rg9GGdFUMUMz5y8gNpmD1/8AtZ5KbO26q74YmZa6aXst+Ok8er lqbn0UNdhsk8JxBKPo3kVrchBBWRmWDqizC5jFqp6WGmsQl/hks70QnlEFRr1OPL7MO0 myK5rp/k98eM+DxvSoYQSDOCOIcCdpnCO54l39koUf9qVDxCvNxf94b/wumczicvnp+7 VRrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DdMsETWHOSqGIQCrG8wpn1jB4vnsTdM3+A71vvrxY5c=; b=YGhHt5JxB50p5bV3ryjaJMOr3vjf4fipmLWi23bbhoynKHHwb7hwMoWIQb8azEOJ7X LxiGRHypHV6BsZyfJVmMlbv/jjoic71Zdm1uBcSBIrpq35Zw+MbAbu5QD2uKs3aUfrEP uQVXcxzsOCGRfifVo6wFmTBxBwWuw9eTRbfY1R3nOzNvBDBuzp2akqMvEMNwTsyXzXgr eiGccc/z1L6jSBg84biZIlu9CNKu8OAedSGLlz03N13byBvwSKdJLViyrxRPDtqH3mxz 1omiSSJPHdSMIqk5p0xJDJsUwm7L4iatfaYpZMElHKZRKZeffZ5R2ZvAdGrJUa0FYnvy FDHw== X-Gm-Message-State: ACrzQf0xlM1J4jBJqLtq5sSfVIjRTXDyTFReSfrSn5KJ4deaAusbeRAq beZliSFD/wUY/jUYilLqVdc= X-Received: by 2002:a05:620a:135b:b0:6ed:3816:f872 with SMTP id c27-20020a05620a135b00b006ed3816f872mr2770718qkl.305.1665413938452; Mon, 10 Oct 2022 07:58:58 -0700 (PDT) Received: from [192.168.1.3] (ip72-194-116-95.oc.oc.cox.net. [72.194.116.95]) by smtp.gmail.com with ESMTPSA id dm26-20020a05620a1d5a00b006ed99931456sm1767282qkb.88.2022.10.10.07.58.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 07:58:57 -0700 (PDT) Message-ID: Date: Mon, 10 Oct 2022 07:58:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH] usb: bdc: change state when port disconnected Content-Language: en-US To: Greg KH , 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 References: <1664997235-18198-1-git-send-email-justinpopo6@gmail.com> From: Florian Fainelli In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 10/8/2022 8:44 AM, Greg KH wrote: > 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? This would be: Fixes: efed421a94e6 ("usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC") that issue was present since the driver was included in Linux with the commit above, we did not really consider it to be a serious enough bug, but I suppose it would not hurt to affix the said Fixes tag. -- Florian