Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp476119ybj; Wed, 6 May 2020 23:48:14 -0700 (PDT) X-Google-Smtp-Source: APiQypIlsNsWMBjLpjN0nxqcX5749ZvbL9fY88ehOVN6qOyiEyz0+JNhD6lIQnYzEFgA1+RokrSG X-Received: by 2002:a05:6402:204b:: with SMTP id bc11mr10324845edb.114.1588834093963; Wed, 06 May 2020 23:48:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588834093; cv=none; d=google.com; s=arc-20160816; b=wWqn6atftKwLXAHZMLjbmM0kJEhr69DTNpErfsIl2+o9+8ZV6Tk2O4F03M7HheHDlE 5yUk4fB2yl+Wx2xL4h1KVXitiMurn5w3ArCiyb+ay+4UVYluT5Ov5yM1NMzvuzLiNN0Y Fwz44TlDgtCkm78rENC5pBZX/yZ5DiyO/yO0FEuRjmcrejGvamfevJTQ0w5HM74UKdJY SjaXYYqT0VuDnH6PvYyEkcoFek0hibpbsNwg8CbPs7TH6YSuCj8KUcnbvj7WaE8KZl9R l0OG5t/79CQkWUV1DobllSPQMTOv7+CCZh6u8PEpV+pGdxbuUc+hmjhptR+Fgk6peiFH Fz+Q== 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 :dkim-signature; bh=vZdL5lPnYDMCTSYxORTBVxq+6Wt5PxAxfv2RFiW1/0k=; b=f0telQqcXHPLYTrIkF6akT66KsWXfsx1wEeZuUdyywlZ48amQYyXJnS/KHuI4bPtUb xiLMUoVcNMMyeWCPIRPS/8qA6+6elJ4pevq+KCwiiVEHDPG0XNicXPAY2OhMW9WozffQ Sx6Gk8rMYaz2I1UIQ8RsQ9IXl9cwCqVLMjL8Ubm2X7H6uAXtoovKAq8z4L9MFaNKNPVo bxfiEGfZhiy4m9GOXJ6hf44t6hORv5dlBA7Bt6bpKGru+bwoH3Xzzx0RSDgr0xBe6AI/ 0p32EkulWVG372OtVupzNhutP1s61sEANAdJv7dp0iUO8wprXGQCUFulyaMTWQz/fjA9 JKUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MbUZ0bvZ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk9si2453307edb.403.2020.05.06.23.47.51; Wed, 06 May 2020 23:48:13 -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; dkim=pass header.i=@kernel.org header.s=default header.b=MbUZ0bvZ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725905AbgEGGq0 (ORCPT + 99 others); Thu, 7 May 2020 02:46:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:34698 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725763AbgEGGqZ (ORCPT ); Thu, 7 May 2020 02:46:25 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 7B8982078C; Thu, 7 May 2020 06:46:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588833984; bh=DKx3ZXKFviFup1PFzs642HAbWJOA7O7flMe6V9QzH9A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MbUZ0bvZ6n8hsYBKU5Jdd7f/Q6anJhf2x8xQWYh55kcVdWAhJoeYoAdznOhiGsNUm wqUL5VcIL+oFlGQBmXjj0yKdkQww451GMz24aYyKaIglg6+BQDHpE5Y5AjsU268KSy eUNnlLiw26nsPbVTtllijLrtKjYwbc9poWrFNU8k= Date: Thu, 7 May 2020 08:46:21 +0200 From: Greg KH To: Peter Chen Cc: linux-usb@vger.kernel.org, Bryan O'Donoghue , Peter Chen , Philipp Zabel , linux-kernel@vger.kernel.org, Stephen Boyd Subject: Re: [PATCH 1/1] usb: chipidea: msm: Ensure proper controller reset using role switch API Message-ID: <20200507064621.GA789457@kroah.com> References: <20200507004918.25975-1-peter.chen@kernel.org> <20200507004918.25975-2-peter.chen@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200507004918.25975-2-peter.chen@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 07, 2020 at 08:49:18AM +0800, Peter Chen wrote: > From: Bryan O'Donoghue > > Currently we check to make sure there is no error state on the extcon > handle for VBUS when writing to the HS_PHY_GENCONFIG_2 register. When using > the USB role-switch API we still need to write to this register absent an > extcon handle. > > This patch makes the appropriate update to ensure the write happens if > role-switching is true. > > Fixes: 05559f10ed79 ("usb: chipidea: add role switch class support") This should also go do stable kernels, I'll mark that...