Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp699007pxb; Wed, 20 Jan 2021 19:03:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJziJtc+2VSRyv6fq4N+V179JSr3QCqP992D1MPjVg+6ONESsdrrJH6BAuvHjzOm6hxd1vWi X-Received: by 2002:a05:6402:4c1:: with SMTP id n1mr9469562edw.66.1611198210046; Wed, 20 Jan 2021 19:03:30 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t7si1297120ejr.383.2021.01.20.19.03.06; Wed, 20 Jan 2021 19:03:30 -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=@synopsys.com header.s=mail header.b=C9x5EShN; dkim=fail header.i=@synopsys.com header.s=selector1 header.b=c3n+Nsqe; arc=fail (signature failed); 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=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731688AbhAUBKd (ORCPT + 99 others); Wed, 20 Jan 2021 20:10:33 -0500 Received: from smtprelay-out1.synopsys.com ([149.117.87.133]:48462 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390628AbhAUBB4 (ORCPT ); Wed, 20 Jan 2021 20:01:56 -0500 Received: from mailhost.synopsys.com (us03-mailhost2.synopsys.com [10.4.17.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id E701AC00B5; Thu, 21 Jan 2021 01:00:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1611190838; bh=9qfGxGlI+VLIfs/OGV+2u9ZwFdt0UJCRIj99jYJK7/0=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=C9x5EShNdMRFOVL8N4Et7YI56rqyPEq3QlRMs0LuKTuyuTTAPiXN2tKwWJUUNi3LJ GrnSe+EpZnn5ReJnP61zl+34XEhyHiPZDAUEFys4EqKRdC/2M1WhdOiRQkkS7qTDGh 7/SDcIn9ofj1j/lXk6O4AOp1k7SRtnyQ39bx0NTXL66oyC0MUeHudYKmxhK7BQ+9lH MTyNVJ2/mVtWyW2Ai1ZYfG8LNC1qegM+stwlD8OMLVnGWmKLD6rWRGKIacPlpTTva2 a6HszpaJbzGdPdE6dU5Yx3LNyLolUjniBGXtVSKhczmVVCoREkeI8Z/NDbc+p9rB/n JNUpoBhakYz9g== Received: from o365relay-in.synopsys.com (sv2-o365relay3.synopsys.com [10.202.1.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id B8D14A009C; Thu, 21 Jan 2021 01:00:36 +0000 (UTC) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2173.outbound.protection.outlook.com [104.47.59.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by o365relay-in.synopsys.com (Postfix) with ESMTPS id C7E6240032; Thu, 21 Jan 2021 01:00:35 +0000 (UTC) Authentication-Results: o365relay-in.synopsys.com; dmarc=pass (p=reject dis=none) header.from=synopsys.com Authentication-Results: o365relay-in.synopsys.com; spf=pass smtp.mailfrom=thinhn@synopsys.com Authentication-Results: o365relay-in.synopsys.com; dkim=pass (1024-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="c3n+Nsqe"; dkim-atps=neutral ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GNyFpF57Set1NGMvoW+pd+uH18Yqo8Sv8Okap2h5ke8ce97VC3CTKCN1o7g5cAZSZ0yl3bi6de3eoaOmvL3F4EZaQEe/t8T1Ea+gklATdckeVhD5pBuYOk2jovrDK3LW9JPdfNIWf0RTK3x0Ehr6CfxVg2+tTRM8nozXxgugLptJclDuUHsvwKksRhpg87jdV6ab+BtLavP5CxUjiDGOG5Av9oNuQpbuXzfkOmgPZnZLdnSMvnxmKjH3+Cgw+DxeiC9mJxsrFvhs4Uq6AwsEFp3xpMMPdSdnqkF1KYWUJ5WSPEWfSWTqW15/xaHz/vDupt1y2qvWPPsjkbnTzmTn3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9qfGxGlI+VLIfs/OGV+2u9ZwFdt0UJCRIj99jYJK7/0=; b=ITfN7yBHYt5B8aQG6Ef+7gxXap7FaIwdxvRAGQWWLSgZHOiVJZ+BJb41/LvgDmfje2cCWmypLMNuyYGSqW3VTdWwtsXpbWbDAzZBo6PfW1ttdeEVN2tae4pxkHRxQQU5XsFtEQ0WlBksFd1TEMeZPW4xDfPgXHgFIFdMu7p1Qy6iJTN9Gi3XcGCIYGxQYpL1ETiglRtM5Ws2bW9A/8S8BYR16DG3Fd1LWolrOo26RtUEUmeYnRIfSEHe1y2OVsjdNBMJefr6s33wAqvXpyEpW3qG5RpflDy4RgsM1+9XupaEtuwvx/m9vWxMwJr83VSRxFlqYslO84lPMsbyEKfz+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synopsys.com; dmarc=pass action=none header.from=synopsys.com; dkim=pass header.d=synopsys.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9qfGxGlI+VLIfs/OGV+2u9ZwFdt0UJCRIj99jYJK7/0=; b=c3n+NsqeLpRiJxKSvSOqVxMheHLtn9YfMkEVCJpkDsTp1QRMcPdCwE4/PqiUnX9d9YvsLlOIBV3JjaDayJMed83vje8H4SRQl1jZPk2juqP450EHcuKUsmcX/5tAR4LyLC6yQ6elxRpcyXd/1I6c9CzWaqX8JaFwDBH3ikZUsXU= Received: from BYAPR12MB4791.namprd12.prod.outlook.com (2603:10b6:a03:10a::12) by BYAPR12MB4598.namprd12.prod.outlook.com (2603:10b6:a03:10d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12; Thu, 21 Jan 2021 01:00:32 +0000 Received: from BYAPR12MB4791.namprd12.prod.outlook.com ([fe80::895b:620d:8f20:c4d6]) by BYAPR12MB4791.namprd12.prod.outlook.com ([fe80::895b:620d:8f20:c4d6%6]) with mapi id 15.20.3763.014; Thu, 21 Jan 2021 01:00:32 +0000 X-SNPS-Relay: synopsys.com From: Thinh Nguyen To: Daehwan Jung , Felipe Balbi CC: Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: usb: dwc3: gadget: skip pullup and set_speed after suspend Thread-Topic: usb: dwc3: gadget: skip pullup and set_speed after suspend Thread-Index: AQHW7uAMwMad0LOTNkG9Sahz41re36oxQ+IA Date: Thu, 21 Jan 2021 01:00:32 +0000 Message-ID: References: <1611113968-102424-1-git-send-email-dh10.jung@samsung.com> In-Reply-To: <1611113968-102424-1-git-send-email-dh10.jung@samsung.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 authentication-results: samsung.com; dkim=none (message not signed) header.d=none;samsung.com; dmarc=none action=none header.from=synopsys.com; x-originating-ip: [98.248.94.126] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 76271f9c-6325-4716-40eb-08d8bda7f446 x-ms-traffictypediagnostic: BYAPR12MB4598: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TENiU94pp+cayM5vZlHBocL8kXrr0Ztl65L+vrJ+bFK4l4FkT7vCd0aHktQqIjA5w9k0RGt8sluDf94diIiwYx3dI+su0doFEwpArCVCNbAn88Q1gLIM00A56ZVDIma2dt0lhAji3bstjjLm84VMyLZSzHq0vkHPgQ8R4IP95DNuBA08gZN7ASqolunXMXXD6fmQUaqH/TRDFxYsMIP7Inwxgh6k9fabP31yt/t5IihZ5U/rRgqIXVIeL90E0nhNHdTiHG/6zcjgAw7v6o05VXxYXIwzsbP073rlJQW8wL/w8RRyjrt6oUs/FBHB8opnp6lykdIABmjKw+eBVp0Zv1f6r0mr8lrIL8wwe7kcth/uwgaoiw9l/nK9Ecyr1mK7lulu05YIw7ePIHtWxKf2oBOEczFsvzH2TuCijiwMnfDzJf1B4Y/j2blpzWdGxQ64j7ZftoGGE+t0o3VGGIOHNtMBe3d0dWKB/6ZoEPLIJu4etwMbrI/v6e42wO3M5WlX x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR12MB4791.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(39860400002)(396003)(136003)(366004)(346002)(376002)(36756003)(71200400001)(8936002)(66556008)(2616005)(316002)(110136005)(54906003)(4326008)(8676002)(5660300002)(26005)(66946007)(64756008)(186003)(76116006)(66476007)(66446008)(86362001)(478600001)(31696002)(15650500001)(6486002)(31686004)(2906002)(83380400001)(6512007)(6506007)(43740500002)(45980500001)(309714004);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?Yy9TYVVLemMwRGcrRHFrcWhhdEZFWk96WH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0JkRzBwc09IdHdlWlo2eWFTRk82V2ROUUM1SnpTUGdlWk5ZaitYbWxT?= =?utf-8?B?Y3FZbDBPR09hb2VWN2ZPQ2NDb3NXOWxHa2NjUmZCZnlkSXFPbkpjN1hMUzUx?= =?utf-8?B?Sm9FanplclJUbmxUZ2dod1doY2FLT0hXQ3gzTVdERVNBdktWTC9pdlRCTU45?= =?utf-8?B?Z0J0TnFYcGF0czNBbUQvc1lFdzllQ21CNVYyTzhtK1pQclorNDVLU3piU3J1?= =?utf-8?B?cHlIc0JmdVkwdk1YcFZoVWU5ZnNCbUo4T04wYnNyclNhNDRQSnZtRHM2bTRv?= =?utf-8?B?UVR0VW5KZ0gyNWZUQ2Q3WWZVbFU5RzNOZ0pLbm1zcDk4c1FLMXNhOWNjb2pC?= =?utf-8?B?TlE5VlJzL212SUdNNFhZc3RXUDdMWk5pZ0o2ZW1rS3NpazdOK284SGtXaEhJ?= =?utf-8?Q?5cgzwh1a5ArLQ=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: synopsys.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB4791.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 76271f9c-6325-4716-40eb-08d8bda7f446 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2021 01:00:32.7758 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c33c9f88-1eb7-4099-9700-16013fd9e8aa X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: iMMY2PxzmpHUKJOb2uol3OMFlPoH0KBUw8/WxSYBV+fSLjAXvWz8i1mIxiT1LdY/a7ZgMZLfdFroMI1wrS0Xnw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB4598 Precedence: b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