Received: by 2002:ab3:72d2:0:b0:1f6:158b:59e2 with SMTP id p18csp12027ltf; Wed, 5 Oct 2022 13:52:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4QT9CJwrwfGyZQPaP8PJUI+EwVPN9TrWcK1gjfrNxp+pAtXIAmXHR/Zetb1/e/nopDZdW2 X-Received: by 2002:a17:907:3f8c:b0:787:a14d:65a7 with SMTP id hr12-20020a1709073f8c00b00787a14d65a7mr1251589ejc.108.1665003124052; Wed, 05 Oct 2022 13:52:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665003124; cv=none; d=google.com; s=arc-20160816; b=0WA9oypyXAMcPyQ8tOGeV2c/oMtXyYtoCRDyU6Ht1fNNMrFXGPj+jR6PoiqdRA7Mxr 0rvxCEBJfyFfaetO3JbqyWPe4JAm4rNzM3yv4hA98Krx3L3ZfpF0J2UQH9i4Ax6E1Jrh LOKX23WmrB/CqwHeDpOKPC0NN/gYwYJSDdpaJuvJvinShq2kF0//psXn7IVYOZzrzMa6 myfPSSqiOlScXNDe/2IgzrfO6swFmpMLei9/VMFtT8MriiyKkF5dyYD9a8XGIP/2HTxl JQ6WJweOZT+4Ya60JMarXgNoBOmagWhH+l7ofcYWas3Z9T2OrNCYBu18u1ECezOayRhG AelQ== 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=c2sIbsiDjA2SMjGMWD+26Laqk16I6ZwxVSuTAC9N2/A=; b=Tp4UoUA1WYybE/siBqM1E+IM3mM30YX9TqqPT/r35rH0krOh9fdh5iACfYD6FUu5Pw dhP3b4b+Q3cu6NruD6YAmFCnkT2xqWG2sWwCOaS6XiTnJpA/UyjkZs9P7toF93nlImry RFfnJPgXPudG7OhIKyHAYS5wfL7ER8a3qqxLSXnONz9DAn5CqQUkzxYReaRDVifmCBkb cQKMbLauBJ9SZ0PkX1q8B02t6nynfQTU6Yj50JMq0cTSTV54ET7gicDEQduw+4/nrFvb /FfXd7/rru7IjnFjVuE9BgG32SX9/5J4Ji++1//WNGbTilwhH8zJjBumpGuQNfNEwHpX DDsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SAYe0EeT; 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 bx26-20020a0564020b5a00b00458f6e66baesi8592791edb.278.2022.10.05.13.50.39; Wed, 05 Oct 2022 13:52:04 -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=SAYe0EeT; 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 S230505AbiJEUfy (ORCPT + 99 others); Wed, 5 Oct 2022 16:35:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230037AbiJEUfu (ORCPT ); Wed, 5 Oct 2022 16:35:50 -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 3F85D39BB9; Wed, 5 Oct 2022 13:35:49 -0700 (PDT) Received: by mail-qk1-x72f.google.com with SMTP id 27so2945596qkc.8; Wed, 05 Oct 2022 13:35:49 -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=c2sIbsiDjA2SMjGMWD+26Laqk16I6ZwxVSuTAC9N2/A=; b=SAYe0EeTRn5ySNJLY9UgTUSOJ0t/cmdVcBr2P+xRdmkEDDPfVpLmgAwuTc95MdWDN7 /CU77OoiTEujAbW8ivDREtCmnUIE9Ibw0EbdTC2nR4j29NYcJ9bE+9M+hJVYnmahxx0k UP+j3TvVS6H4rWhBfnim5Wr3hatctVRYdUigtJP0/0ue5RXj/1ungu0mL7HFACWRFM7s Sm+ZkDbOoaLf5+0hJYojFXo9HsUJsy/05b+m2r5+Fbt7T2KLFPHflcl46XnN7xr97BTQ Tm/cZExsV8/Ol92PaXx0no3QnYF20roCCtrNc0Bzc7l9bC5bqKr4VRU6Twkv4W3DioiJ 7+qw== 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=c2sIbsiDjA2SMjGMWD+26Laqk16I6ZwxVSuTAC9N2/A=; b=bZsgkVXPlL0b+h+zkwQxyIEYy5S2Cl+q7VrNmKEqkWXWpfHDqDxFU3maDvGSBuNBah fqArgtheNQVeumBFJ9nd4T2kRV2jpxdWJYkzzxjAFu0qCQ4UyGDVbW3rk4CD/LUbF+s7 O/+1i3GqswmduTs89/mH1WkZpx/2xKxCO0AciXNDrJ+3zUOWYR293gjt1f28dp3/pPcw jMY1wOnyI5zCtLYdB06s71F2gAM61JeuqN9Q1ScQisKT9BUP68OV+Z3+KIgsTlXKLxDx IH8l2j4QELu1vIFbaT+JfY5mFvhFMOVHT3T2mHew76D8Ocq0mRe/Ru3NwaYFXc1Bksp5 SzJQ== X-Gm-Message-State: ACrzQf16ntpmx9eYTU3v/wSFNHTGh0/RIkkGPX/x0d4ZfJTbayUPuCs9 46d2qD0tzoPhdwV6ah7+cio= X-Received: by 2002:a37:e116:0:b0:6cf:4dbd:18f1 with SMTP id c22-20020a37e116000000b006cf4dbd18f1mr994643qkm.120.1665002148299; Wed, 05 Oct 2022 13:35:48 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id f1-20020ac81341000000b00339b8a5639csm14623547qtj.95.2022.10.05.13.35.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Oct 2022 13:35:47 -0700 (PDT) Message-ID: <33f5b1d2-7d31-de19-c47e-1fc53ce958e3@gmail.com> Date: Wed, 5 Oct 2022 13:35:41 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] usb: bdc: change state when port disconnected Content-Language: en-US To: justinpopo6@gmail.com, alcooperx@gmail.com, balbi@kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: bcm-kernel-feedback-list@broadcom.com, justin.chen@broadcom.com References: <1664997235-18198-1-git-send-email-justinpopo6@gmail.com> From: Florian Fainelli In-Reply-To: <1664997235-18198-1-git-send-email-justinpopo6@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 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/5/22 12:13, 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 Acked-by: Florian Fainelli -- Florian