Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp403746pxa; Tue, 11 Aug 2020 06:08:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfo9+xFcfBEdYRwV9DN6CvvMnI/xsFhmAgCKCoYbtjh2ugVABNn7bZO4nYiraduhEQLlxE X-Received: by 2002:a50:f19c:: with SMTP id x28mr26070548edl.295.1597151321054; Tue, 11 Aug 2020 06:08:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597151321; cv=none; d=google.com; s=arc-20160816; b=APrD3pUv47M2FOpmkFQ52mTwMxPk7HOMVQz8Bm49enMG9bmaVjr94JMweiUicPR36V ZQ9GFyNeBUnoAHHxaaOmryWoUYiN4AcmU5s03//2P0aFKCm94cGaIMI3wFyogpqmhOPC IniZrZL14IB0GZXE3uSJeQZIOkVC9ks3Q78h4xsqpm8HfffZ17QMRWXTL4LowblOIHy9 yU2Za0dMPkH7oX8asn917a9H8q0PquA6ZW1G50+rmirDeccpzmBOPUYG+3z7wWPTC3eL XYBM8hNqVf0R46jKeyP9pHLMQZzu9LZh2IPbEA2aFs85oFMwpXqZTl8Di09LkLvwNcoJ fEWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=LIylf45jl9z5rcMAtxmyUtRR/BKi2bp2bw/nuKjA+aA=; b=Kq+3SQFhOMcJ0LxwwFtbe3eoL6BwU8kWdjRDp7dFrct4MOeFHbr8J17IOd6GJVEa8L vLv7BZ44RcvdDjmE4fdygOdCzaizqE5e4+CjFk7uXljvz1mvW4YlJFxwxqffxP3i3rZp xTm52W3/l0cF7Z7HprQBuWRzgY+UXOvErFAfl+96bDpBQKGXUpdbDDWJmPadOWn8EouS n2Zo5yI/0lnghB+62bioneoe17sU7+UdMhbxZkYR+8qpit2Hf3/tAQc+G2YKcO5ocbBI iaN25DfY1VyhOZf0LdhTPF++3vQMAh9Y3xxJNFvy7qdtaM9lORep4sgkgFBYvaufEJFf S03A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si13037917eja.670.2020.08.11.06.08.06; Tue, 11 Aug 2020 06:08:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728648AbgHKNHI (ORCPT + 99 others); Tue, 11 Aug 2020 09:07:08 -0400 Received: from mga04.intel.com ([192.55.52.120]:31994 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728619AbgHKNHI (ORCPT ); Tue, 11 Aug 2020 09:07:08 -0400 IronPort-SDR: mdAPz45f+KJIjUrLrDy0EB983Bp8x5Yk0RENUClZhpoQjNIGJoZTR+ambye7tEJjMgXpO5oWEJ s/S2rZCQfkQg== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="151159529" X-IronPort-AV: E=Sophos;i="5.75,461,1589266800"; d="scan'208";a="151159529" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 06:07:07 -0700 IronPort-SDR: q7TSaGA3zgBY9VQdB2f9iIBrK8SgrW02ME3wO9czPhvx2EdQyeX/wTxVCBnXuDXkSzJDW7BQR5 c4tCTsddmv3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,461,1589266800"; d="scan'208";a="398520755" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 11 Aug 2020 06:07:04 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Tue, 11 Aug 2020 16:07:03 +0300 Date: Tue, 11 Aug 2020 16:07:03 +0300 From: Heikki Krogerus To: Prashant Malani , "Shaikh, Azhar" Cc: "bleung@chromium.org" , "enric.balletbo@collabora.com" , "groeck@chromium.org" , "linux-kernel@vger.kernel.org" , "Patel, Utkarsh H" , "Bowman, Casey G" , "Mani, Rajmohan" Subject: Re: [PATCH v2 2/2] platform/chrome: cros_ec_typec: Avoid setting usb role during disconnect Message-ID: <20200811130703.GA627773@kuha.fi.intel.com> References: <20200730225609.7395-1-azhar.shaikh@intel.com> <20200730225609.7395-3-azhar.shaikh@intel.com> <20200730230238.GD3145664@google.com> <20200730232504.GG3145664@google.com> <20200806113907.GX883641@kuha.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Aug 06, 2020 at 11:39:08AM -0700, Prashant Malani wrote: > I would suggest: > - Merging Patch 1 (role set correction) and Patch 2 (moving the > usb_role_switch_set_role() inside cros_typec_configure_mux() > *but* keep it at the end to preserve existing ordering) into 1 patch. > - Add another patch which re-orders the calls and which in the commit > message lists out all the reasons why this re-ordering > needs to be done. > > Doing the above will help keep better track of why the changes were made. So Azhar can you please prepare v3? thanks, -- heikki