Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp843156pxb; Tue, 8 Feb 2022 03:53:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDAFsPuSjMg4HsNQc3dtSiLsfnBq1SB1od8kmKLTYn2tdA51LaylNLGWV3wbyJa53FDETk X-Received: by 2002:a17:90a:1b0d:: with SMTP id q13mr967977pjq.14.1644321191830; Tue, 08 Feb 2022 03:53:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644321191; cv=none; d=google.com; s=arc-20160816; b=dR20VAK6w/k3QsxhyrTPuhpunZANteBTN4lO7jTAFkJ+ZF3QqpZS47VX6TGRlmaizD XYNw7/Azqfsx1rUz8Yf8zrKojqJQBfANJWxtrO3NHM340ntfeZecqv1LrDwvUbaegMh8 NHWsf1qzkOf7r0TVN2mkVgxNlCFwVbPMYqFC4sJNz3fsId8DzNgqbwPcrDlVf+P8741E DqotwKuBkeBLaxHSXxXS/j4J3b6vgYu6w4eH9ULH3wfKJqK6UmfuLWq0AA9y99s8WNjf NsLufRi0EJV9knzcFQesd3KTnIPyDgok0dE5gev4AKmcI2ahYACeuhB8gcxfjQ22yKPL QfqQ== 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=w1ToBKvilZAnLsl88mTOhBoWn6o9AUkKYUjyzTMC1uc=; b=DSBg0Aq8agNpQVXOsU2UwzTUBg9pWWs21HdSvGt/CBrK+VuF8lFzSuBd3vqo1WpC5q y/hj7Y0M14OPz5dH/oDDUFBUUyY3eU6ZsO4ghUh1dzd+7vkCJAA/8oomdxq/1Iu0xS8I aBB82GHU64Nmbu/lUXxh+OOMdOimUjJ8LFF5jfFPwYiHP2qmjm8POzIfoXddpcMpw54t aYytWIHZi3w6KLw0qkUkVh90GFZz3s1KSQ0estL8QyE98S6d9jiynW58olODZjrFHcwy bOFZdALAP2ESHercb4J7nWeLGXr2G+gCdBraOtR5cS3yPVcyJwAanlL5h3fUAeE995SI Ig2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=CJFYtc43; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x22si12932993pgh.567.2022.02.08.03.52.58; Tue, 08 Feb 2022 03:53:11 -0800 (PST) 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=@google.com header.s=20210112 header.b=CJFYtc43; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235093AbiBHFkE (ORCPT + 99 others); Tue, 8 Feb 2022 00:40:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347128AbiBHFjm (ORCPT ); Tue, 8 Feb 2022 00:39:42 -0500 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B11AEC03C184 for ; Mon, 7 Feb 2022 21:38:59 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id y5so16077264pfe.4 for ; Mon, 07 Feb 2022 21:38:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=w1ToBKvilZAnLsl88mTOhBoWn6o9AUkKYUjyzTMC1uc=; b=CJFYtc43lHuyGmlpLrVF+z71pylI0Zj0Gmg7Be1LIE6/wkILXgk5t4MJPAxctlpTwe 92Ha5dQKE8WgrirZAcawdCkKEv500hRdAyExKqhtObw+9Fhh3a5OQxHG3sz1FW3Hhmjb ts5cAgKY60ZWOtTBKCWtatzkOkGUhyhME6yZjCvA79/k19ve5pQhOOhqL2TnjQUUN7/i P5p5ce2gFs7yr2JbnBpp0W/jgyqIRVHuYAggKMArpvSKpnNpWQtuTayqLrAxMKEHImwT sqp15upJV7ETX3PgRbL9MiCSTcCCUkYiVRfhmDS/avPr0/NQh1egHiqMY8DFFIwCoHfI ivPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=w1ToBKvilZAnLsl88mTOhBoWn6o9AUkKYUjyzTMC1uc=; b=mB9JaI4+CwoDwgZ6whsQEPGoja0VZ6r0E/C/WUH7NdyXTdSJqXlG1t10P9N/QIuxv7 PqdTLlGjNJGIbsgVsHUskOgEbA75IDfN5+muE0krVBLJUbN5K7haFgtSOWBkI1T7nG5+ wp4j8ijxVrVFQ8H0DXZCP0NEBkJ2phBnsLywHnPRwilH4zgXk9+V+upSgKAoo90OVmST AoH7CYv962jyHaxKCF+JCM3sp1wSHAY+J0VA5Ct/TGJea0uSmWMFR8yhddQG1A0bAuHc fTX/ClhdjbMNfMZghTg4fFm5IJwj9QBEZJcQNTVRHEL1/y5ryKcikXdbpVYWEdrOmUVx nTZg== X-Gm-Message-State: AOAM531ymEWXMgfjngfp3fAeCntXMbvXHI1RUVPm33FnnUKIEQ0+6EmR KfILBECRwK7nrBXrDEYx9Ea2DQ== X-Received: by 2002:a63:36c8:: with SMTP id d191mr2247795pga.377.1644298738976; Mon, 07 Feb 2022 21:38:58 -0800 (PST) Received: from google.com ([2401:fa00:1:10:4b6f:f14d:be50:86a]) by smtp.gmail.com with ESMTPSA id k9sm14548102pfc.157.2022.02.07.21.38.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 21:38:58 -0800 (PST) Date: Tue, 8 Feb 2022 13:38:56 +0800 From: Tzung-Bi Shih To: Prashant Malani Cc: linux-kernel@vger.kernel.org, Benson Leung , Guenter Roeck , "open list:CHROMEOS EC USB TYPE-C DRIVER" Subject: Re: [PATCH 4/4] platform/chrome: cros_ec_typec: Update mux flags during partner removal Message-ID: References: <20220207214026.1526151-1-pmalani@chromium.org> <20220207214026.1526151-5-pmalani@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220207214026.1526151-5-pmalani@chromium.org> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Mon, Feb 07, 2022 at 09:40:30PM +0000, Prashant Malani wrote: > In cros_typec_remove_partner(), we call > cros_typec_usb_disconnect_state() which sets the switches/muxes to be in > a disconnected state. This also happens in cros_typec_configure_mux(). > However, unlike there, here the mux_flags variable hasn't been updated > to reflect that a disconnection has occurred. Update the flag here > accordingly. It is fine (at least to me) usually. Since you would need to respin the series anyway, s/Update/Updates/.