Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1147312pxu; Fri, 27 Nov 2020 00:25:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbuxlrsOGJ02a+PsajTXtL9AJiUUqzr0iRU/qRWSdAw+I6MFjpnxjYBEom/7kgsmmHm2nM X-Received: by 2002:aa7:c058:: with SMTP id k24mr6444708edo.263.1606465509206; Fri, 27 Nov 2020 00:25:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606465509; cv=none; d=google.com; s=arc-20160816; b=YoFpAQPeR2q7oA5PzRp0xaN5xWzEx9WCRjIBYtNWvsUKmmFGvQ7pq1FdPMXhY0MBgk oPKTQMByaLJ9ZudshhwiiLSPxI2vlwyZ+jKw/LuiXSmf2i/BRxVMMtU7JJtGnro0lf9n WMjUmtPg79XnhQ5RiV+cSORn+nurUqX/FoqJ0StJuE6euLvMXCCYPI/a7hYWUBM3Gm0W 7i8q8MpyJnTU5mqem/Tts1gVsiAvEuLmp96fPgtV+xK8nW+8L5y3qGlJ5bmQmVZkQcj/ mpvX5O7jRkH/9RtXj7AurR0NL4W2hhxgbv5JdZZ/VeJT+CriknV4gnx3FBKcLI8+Ep2q vTjg== 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=kSDH3t5oxB8qFgYPXLViNj7bd6LecXcdk/99cKYiFGI=; b=dlDRvUz2afpfZuXilfzLJ/aNUSBvqJQ8dslI4MgW88Sis3qv+7w5ChXBlmKtoCt4T3 d5lI6OrRyp22IM5z+Z9PhbsWMQT4NFH5lgl6DaJqwgsvgw6fL5aWMx0Thf0pfCgF/9WO O0Y81C2psKKca6CIAEVz8aVFS2ghe6ACuTX/H2XuJia9B0Ng6olByplzHtJrF+RGWBIN pbYORt3bTFYzxOQqpAP3kZkv+63FlSkC7Mej0sN8/nbDtKRxOY4+C8YVeOpQwCfclkW1 wPzysLMRFIIxFzduTRuf9OI2HJCHMbw0lbx0KeZPQl03tLEAtNh1FlZIFw83vLSux9xz 4IJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="y5A/LGkr"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hd41si5042413ejc.168.2020.11.27.00.24.46; Fri, 27 Nov 2020 00:25:09 -0800 (PST) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="y5A/LGkr"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388550AbgKZMj5 (ORCPT + 99 others); Thu, 26 Nov 2020 07:39:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:41526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388375AbgKZMj5 (ORCPT ); Thu, 26 Nov 2020 07:39:57 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DD08120B80; Thu, 26 Nov 2020 12:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606394396; bh=0PzfkZxzSz+Tr8N1gBaxXQkoZUtHrQ9csBuPBbYPTMM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=y5A/LGkrfnZKFDpKgXSPqk7fRrJNKGQgpwBKEfTzb/8Ru2bQXrx10CwlGf9iz4Q+6 w2UI0ltU2L4zUnfF8CXwLqI1P7Q4aNVFbnDtp1ifatY5xrIrheDhnTXfaJtzvLILT6 JLHiS9HDoSorgvEu3wtuAL9nqt4Kna7c1wohS6/Y= Date: Thu, 26 Nov 2020 13:41:07 +0100 From: Greg Kroah-Hartman To: Heikki Krogerus Cc: Badhri Jagan Sridharan , Guenter Roeck , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] usb: typec: tcpm: Disregard vbus off while in PR_SWAP_SNK_SRC_SOURCE_ON Message-ID: References: <20201125020703.1604979-1-badhri@google.com> <20201126120120.GM1008337@kuha.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201126120120.GM1008337@kuha.fi.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 26, 2020 at 02:01:20PM +0200, Heikki Krogerus wrote: > On Tue, Nov 24, 2020 at 06:07:03PM -0800, Badhri Jagan Sridharan wrote: > > During PR_SWAP sequence, when TCPM is waiting in PR_SWAP_SNK_SRC_SOURCE_ON > > for the vbus source to ramp up, TCPM would prematurely exit > > PR_SWAP_SNK_SRC_SOURCE_ON and transition to SNK_UNATTACHED state when a > > vbus off notification is received. This should not be the case as vbus > > can still be off while in PR_SWAP_SNK_SRC_SOURCE_ON and the vbus source > > has PD_T_NEWSRC to ramp up. > > > > Signed-off-by: Badhri Jagan Sridharan > > FWIW: > > Acked-by: Heikki Krogerus Thanks, i've added this, and your other ack, to the commits in my tree. greg k-h