Message ID | 20231228110753.1755756-3-xu.yang_2@nxp.com |
---|---|
State | New |
Headers | show
Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2073.outbound.protection.outlook.com [40.107.104.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B1D436FBF for <linux-usb@vger.kernel.org>; Thu, 28 Dec 2023 11:02:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="spxTlxJf" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lp841mdAjewG2GE9BZF0gUGgu2m/KtO1FLgznAKhQtflBIiyje2J0MRbkn7hxKO4KSjeLQWaAJ1ngeR5Pv1XnfuImMLp+bnqYKxOsBLKX5qElYDc1xFvqI/ur8uyu2e7fJgCnRojXmrU5of/nXXNQ2Q/iK1GQOPTX8TNfpA2SvibzPfrl5efu2VZ2kwH48lrGhoVrJxChNL0+EFImtMDZBgu86hhXLt2hIegfJz1hUAOeZmx+VpH6IDXtE7KMTxaafWbffxGVznS9XTy41BN2yFIYa42jrpcmo7WZldu009vCoF89LA3ypna9cRbf4DiQoT3dalrJmF4mV1QrECZVQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tkMs+VDs/6/LRZ0t+My94tiBmizNyg/sryes2yBC+FM=; b=Ft5Oqlw8gAB+Dk6O4O7Se1m/ge6L90op8Qb9FQh65ioMPbUMjcimNAGKzKmJeevqTxteXxhu9sZBAJrMqVH5UIJToXe/e+Pb0eULdeLNaGSyJ4tzFzrIp/MUHmAaWOxiua5a0y4aDESeRi/Va7Ektkn/2Uw+xxF1mbA0KhQ9kLOUO854cZa8GbIKsiYarbf8I1ooph82RiKN6EVAoBPa/J0Kbz/s++N5OsPkJzWq0QvzoQNPKgt+jV6ryNsy6BeJ0Qe5AyM6pTLfwoT0alRr+WdbnoWh4rZ1IT9+ssFjSKMLZtKy/CY/M/xRo4lI3yKrnIkE11Qv7bXlkNpDXC01+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tkMs+VDs/6/LRZ0t+My94tiBmizNyg/sryes2yBC+FM=; b=spxTlxJf8ibczbNhlOab5jX/kty0U7cljAkAlsBY87rGXgGI+m1LdZYd+OIMGNu9CkFldOpIyjfHVmSY6oR0vczryxj4qc8zZWP7WQJQtYmQuThJfQViPI0rY1BJFvrE5LoN5jhG3koweybufnAXiJHuBVpSYhfs7l24y0oL+dw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) by VI1PR04MB6815.eurprd04.prod.outlook.com (2603:10a6:803:130::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.19; Thu, 28 Dec 2023 11:02:00 +0000 Received: from DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30]) by DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30%7]) with mapi id 15.20.7113.027; Thu, 28 Dec 2023 11:01:59 +0000 From: Xu Yang <xu.yang_2@nxp.com> To: peter.chen@kernel.org Cc: gregkh@linuxfoundation.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, luca.ceresoli@bootlin.com, jun.li@nxp.com, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 3/3] usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host() Date: Thu, 28 Dec 2023 19:07:53 +0800 Message-Id: <20231228110753.1755756-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231228110753.1755756-1-xu.yang_2@nxp.com> References: <20231228110753.1755756-1-xu.yang_2@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SGBP274CA0008.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::20) To DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: <linux-usb.vger.kernel.org> List-Subscribe: <mailto:linux-usb+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-usb+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB5146:EE_|VI1PR04MB6815:EE_ X-MS-Office365-Filtering-Correlation-Id: 3330e93d-9461-4427-5725-08dc079469f1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uwcRtUDlMU8d+Vl4sNbCICRRRUU7W+buHkel69c5NjfNo1UV8d6MbPI2LE/rUDjIKUJm7I1l8mTPhnmxHoo0o8EmqpUbEJYyY8OLibM/j0NLyv78JGpvvz1m+nFMtK9XmvaijObJCUpqN2KAAZMrc+US9s2gr7gFDrMW/BtouIIt5lehEcX8E+eSkaC0r6uIfztHWeuZqNyM9bFZt7G8FpNSilj5PjXr46q8xdm4B+q17ASd6yZ8TKI3GPezg/63lB5L//O/yG6dJuA6jwCPoBQTIZVwShBL9MKinSf3TK/2OLO0nr+dK2QEEsp1hmN7UhvWPKBMUu9YdY1WgwHMvxA+dvJwMT4amd+Kpz4QRLC1XukUeTrPnv2ZdK+yAhL9nOGVnaToG9UhWM3J5CCeUnZ5Guhl9hWYfL6s75B78Gqx05ZjfywE79OrGxww+zN5b1ETeuCYWwq6uPjJLXbO4w/QXTlBNATMMDRz8sd036YlpK1AalrdMChLH2wp51U5wNwCrT1N/8E6Ncrz22o51v01wyddnKLnWnzCYmlX8YLzQUZveX3IqvxwQd2VGr/9e+QywQ7HfBs7uf9kzJKBnK/pchTyszZUDLw88KUO/FKhQKeXS7QzzvACWezXY9wl X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR04MB5146.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(346002)(39860400002)(396003)(376002)(136003)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(26005)(1076003)(83380400001)(38100700002)(316002)(66476007)(8676002)(6916009)(8936002)(66556008)(66946007)(4326008)(5660300002)(2906002)(6506007)(6512007)(2616005)(41300700001)(6486002)(6666004)(52116002)(478600001)(38350700005)(86362001)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: f63x6LOZMbk0dB/VN5IhO2jgxbG30D4x97H+u5wksxHGw3X3Sajn4rhcsibCMrijIghAh9TKOO2mjFX9KN1BHu4l2h2uonveigJQ3Pwj8Mp7jURza7s4+bxyWBU8+61mPYXIEs8g2UTa4M2YsA+stjnk9toKLso56p6yBmR1WEn+N0TjVpfTpqkJr+uS2fHTQtSIzcWO8aczGrdQ98VYkVrN3Ui3jdvis8VTxLhf6bndjxtR1esRZljUsU1HdO7zmBCsxduT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9+GTzDjEZHoOoMruYFJiWL3TNxcy/WPUT+A4yyvCTGOPdxenvjG7pR2lI16M3tgZTUGf2FcA1swCFdM5LJxVpSYMETfOdYWUUq/Ibq2OEENdjFz3tT0RRmYVT5nbQ6TOMVpGyLR0M4LzL73TDEOFg5JCJfZT8daV+moD5IzMHDpf4PywIAG/PwAWeS3VypOg2C/DZ9BqbV0MFfbk3zyTnNkpAZghKIWj4C4KxW4aFEsJUxLirQXhZ4SFX X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3330e93d-9461-4427-5725-08dc079469f1 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2023 11:01:59.6922 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: z3hbLX6Kh8O4DzDDCW5exVXF5cgXFjgtHpYEM/RiC5Jze3mUD35AxtbbyNWpO/VFf1eKG9dFIC8zYt3rV+wICg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6815 |
Series |
[v3,1/3] usb: chipidea: ci_hdrc_imx: add wakeup clock and keep it always on
|
expand
|
diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c index acd46b72899e..920a32cd094d 100644 --- a/drivers/usb/phy/phy-mxs-usb.c +++ b/drivers/usb/phy/phy-mxs-usb.c @@ -388,8 +388,7 @@ static void __mxs_phy_disconnect_line(struct mxs_phy *mxs_phy, bool disconnect) static bool mxs_phy_is_otg_host(struct mxs_phy *mxs_phy) { - return IS_ENABLED(CONFIG_USB_OTG) && - mxs_phy->phy.last_event == USB_EVENT_ID; + return mxs_phy->phy.last_event == USB_EVENT_ID; } static void mxs_phy_disconnect_line(struct mxs_phy *mxs_phy, bool on)