Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp834892ybg; Mon, 27 Jul 2020 00:17:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgTqG2vRm6qaCo7e1+m74Y52sV/W+rE4sEbZFlYHq97vuY/FzNNMijj9yC9yAa8zWvnwD6 X-Received: by 2002:a17:906:12cd:: with SMTP id l13mr13557887ejb.385.1595834257523; Mon, 27 Jul 2020 00:17:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595834257; cv=none; d=google.com; s=arc-20160816; b=HyE4NNpZv+pUZVvA0cvGUSqJt+nZZTwJw6ahF4Ka+wXrWPeZxtj4+/RkjJNts7jsJb 4PTg38tPBGA6M0SRLpDbFBJFlu7Rl5AdVZ1V9FKAmAXINMcnX15g9COrR0mlF6PfYyPE 0cMD6r28I9iwmDSnJI5zlLQ0vx17iBhkuH3XJjJpNbp20kH+uohZ3zsjH4XRIzPzbXk1 kEsnloauVPFeNYo1XpviHcA86Lh1qmrVH69ZWSC2pVtY7WaWeKQDwTeIT74jwdWPUEdA Z5/AAZvMvJKPxZAyQxR4I0BenbVBSSZshWlJ/3YKBAXtc3qvojKEQddy9p7os+sSb2xU 7F0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dKMalhtdhFPPOdQozyVhSoiY/17guaRKov/u2gTo5Gk=; b=N06UuSYuehWs+iSr0JUY7Jtz1NOphBaJzUBwM9bvj5CafMMhtvuTqH5Nvu8iqLD1yq d9NGt6v7YUZ5R+9E8/UGZIZUzhFabByv2uTPs1EsP5eob0tUPwJjJ8tp60j5GQULr6CF 0q8r/OyZKZcVA043CL7JXO3OQ0ts9oBSn4JO5w9SAWGPKdOKjP22KRnMHX7waXzjJuPb OPN3aALKOwJOLktFLSTFm7V+2JX11FOcJw9y4LoU3NnFlPB6mD0JYSNyctUWo5P3UdHg IBqp6k2843vzrVF/oxX6+5tS0p6wGx16bkqdt1Roj7ez1R19UK9fdRAlsIuYjj9oBE20 GcCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=vAnnP6do; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m16si5024968eji.77.2020.07.27.00.17.15; Mon, 27 Jul 2020 00:17:37 -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=@mediatek.com header.s=dk header.b=vAnnP6do; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727772AbgG0HQx (ORCPT + 99 others); Mon, 27 Jul 2020 03:16:53 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:9340 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727098AbgG0HQt (ORCPT ); Mon, 27 Jul 2020 03:16:49 -0400 X-UUID: 993646a612354f7589969844d78cee05-20200727 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=dKMalhtdhFPPOdQozyVhSoiY/17guaRKov/u2gTo5Gk=; b=vAnnP6doSaYLjERbOiyUKH/Fe+AVwRRcFDJAbK/hPKlcNaKzhURF5j9aberKmFve7fswZAQPHDz2kvj3ue/RVI07pwtseVhBe+Jya4jvIFQV0cTSYAnNuDuIIitzaJYoBO+t+ACD8fYyYbV36FkDvb2I4uAVjb317S4G0Mtc0P8=; X-UUID: 993646a612354f7589969844d78cee05-20200727 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1528417198; Mon, 27 Jul 2020 15:16:45 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 27 Jul 2020 15:16:41 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 27 Jul 2020 15:16:41 +0800 From: Chunfeng Yun To: Felipe Balbi , Greg Kroah-Hartman CC: Matthias Brugger , Chunfeng Yun , , , , , Eddie Hung Subject: [PATCH 10/11] usb: mtu3: clear dual mode of u3port when disable device Date: Mon, 27 Jul 2020 15:14:59 +0800 Message-ID: <1595834101-13094-10-git-send-email-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1595834101-13094-1-git-send-email-chunfeng.yun@mediatek.com> References: <1595834101-13094-1-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SWYgbm90IGNsZWFyIHUzcG9ydCdzIGR1YWwgbW9kZSB3aGVuIGRpc2FibGUgZGV2aWNlLCB0aGUg SVANCndpbGwgZmFpbCB0byBlbnRlciBzbGVlcCBtb2RlIHdoZW4gc3VzcGVuZC4NCg0KU2lnbmVk LW9mZi1ieTogQ2h1bmZlbmcg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