Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp290825imm; Wed, 12 Sep 2018 23:24:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYoIaDILL71viCuT5LFUic2Tdp121AV9/XQfsvhnSJLDl5EjpVSR1GU5i9t/M+kxzYEYieX X-Received: by 2002:a63:fd52:: with SMTP id m18-v6mr5610052pgj.304.1536819840287; Wed, 12 Sep 2018 23:24:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536819840; cv=none; d=google.com; s=arc-20160816; b=Gy/3R/mqbX9ODMQgfg/8vqxfzDStivI3OLwJ09lzMSqVG9pYKP3lsD/c4HZcDu7qGl AB5uEEb2f/b0ArAoiGz96zykPcpymenD7M+264aWm0T+zoZoXCDVJ0AZ4g/uV/u6VCgC TednuU24+PNg6lOVMiWdfaJoNV4ZrwEPZkme84G1CR/keH6kj94T065h9kmHCiWlKnJm 0SqgQVw0CcwO8mTHIwVZjvs6S4QONXbCdmsz0vJZlVWCPHgFX5CeP0kO7qb23JnbEOJP tSaV3SSOqq7aY7OiRmw8KOAwc5DDZBvpdkWARGdO8eNst8DA0igG5rPiR3KI72q7Mrlj pJZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=IH/qLttRneZh4ZgMLsQUolQVfrJjmuPjCQ9u8V7utnM=; b=gpY104tuNnMjddzFVc+ai4ZZREUmyzNaCGOeqZecY1k+moDeMZmbdQuW81CITfVPP5 Y0ZgVu3+krfly4gAlaFcdwxVXFWpy9SFdPio+Jf2oEKxKz2PDp5Ep2y4b0Co57ufoy5X sj/sXH8xICxm73G8mpxTVIVkfkPX504OtXVeQq7eIZ1CUyKjV98HFN0dGhktCpmKvYdn rkprCS7a7x8vqpyaDQbRQKGD/DGgH+46PbM3nEtKzVIPRfQtlP0KHIKwEM/5qea+H358 Q4o1BlFm9acetBD5CFuQEzR9mN7Dd2oTl1Vn8f3inO8CxqlmZgY4NTDcJ5BJs96cMtfC wZNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b="OZaz/Z9K"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w133-v6si3082933pfd.313.2018.09.12.23.23.45; Wed, 12 Sep 2018 23:24:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b="OZaz/Z9K"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726913AbeIMLbF (ORCPT + 99 others); Thu, 13 Sep 2018 07:31:05 -0400 Received: from smtprelay4.synopsys.com ([198.182.47.9]:41776 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726570AbeIMLbE (ORCPT ); Thu, 13 Sep 2018 07:31:04 -0400 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 582D324E099C; Wed, 12 Sep 2018 23:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1536819782; bh=FvWCKKU8cv6weFSA1Hp6wAFlMkgncqSdeBPx01/Dqec=; h=From:To:CC:Subject:Date:References:From; b=OZaz/Z9K6pjAUZMO1x4gxF4g82pHZ3SSr0nrAU0/pELFKuDSMppsE1leYfTrUvRmO qegN8fizvMJ1m7OkeoLS+ghvU7e+tyXI8MfWcPcY1+E1Og/NgHIX0UdPad1xWxKB0D aol5YIU4vCu26tFxpUbsdc1/ogZdzeXmDgUuBVJ/gKNxgpM5acW5/s10ohf6vHyE0L /0olabKF4WsPuCPKDvPtX72wEYlAAap2D7QihYX4OWwnqYCq+Gk2FOFnW2oZ8kk0S3 DiKueZK7T8r0V7vSg2y1AClYGOCd1cuTfDrGxeDMg6PRQdo4QzBT34LTSyYHIFAi18 tTkDjABfUVnOw== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id 06D355796; Wed, 12 Sep 2018 23:23:02 -0700 (PDT) Received: from AM04WEHTCB.internal.synopsys.com (10.116.16.192) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 12 Sep 2018 23:22:51 -0700 Received: from AM04WEMBXA.internal.synopsys.com ([fe80::79c3:55f2:1f20:5bf4]) by am04wehtcb.internal.synopsys.com ([::1]) with mapi id 14.03.0361.001; Thu, 13 Sep 2018 10:22:48 +0400 From: Minas Harutyunyan To: Amelie Delaunay , Minas Harutyunyan , Felipe Balbi , "Greg Kroah-Hartman" CC: "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , Fabrice Gasnier Subject: Re: [PATCH 0/4] usb: dwc2: fix host mode external vbus supply management Thread-Topic: [PATCH 0/4] usb: dwc2: fix host mode external vbus supply management Thread-Index: AQHURQ1CtuXxa1UsAEm+X5SsTyLaSA== Date: Thu, 13 Sep 2018 06:22:47 +0000 Message-ID: <410670D7E743164D87FA6160E7907A56013A769B0C@am04wembxa.internal.synopsys.com> References: <1536147605-26279-1-git-send-email-amelie.delaunay@st.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.116.70.57] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/5/2018 3:40 PM, Amelie Delaunay wrote:=0A= > This patchset fixes and improves host mode external vbus supply managemen= t,=0A= > mainly around suspend/resume use cases. It also avoid 'vbus regulator"=0A= > to be requested lots of times upon each call to dwc2_vbus_supply_init(),= =0A= > especially when pm runtime is enabled.=0A= > =0A= > Fabrice Gasnier (4):=0A= > usb: dwc2: get optional vbus-supply regulator once=0A= > usb: dwc2: fix a race with external vbus supply=0A= > usb: dwc2: fix call to vbus supply exit routine, call it unlocked=0A= > usb: dwc2: fix unbalanced use of external vbus-supply=0A= > =0A= > drivers/usb/dwc2/hcd.c | 45 ++++++++++++++++++++++++++++++++++----= -------=0A= > drivers/usb/dwc2/platform.c | 8 ++++++++=0A= > 2 files changed, 42 insertions(+), 11 deletions(-)=0A= > =0A= Tested-by: Artur Petrosyan =0A= Acked-by: Minas Harutyunyan =0A=