Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5425731ybv; Tue, 11 Feb 2020 15:42:03 -0800 (PST) X-Google-Smtp-Source: APXvYqwho78uDPFwYuIuxUhBZtjRYbgGdChlZr0zpuC+emWnUdZf4kKnlPFL50Bqgz5s4RcPzh/P X-Received: by 2002:a9d:6f0d:: with SMTP id n13mr7301602otq.165.1581464523220; Tue, 11 Feb 2020 15:42:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581464523; cv=none; d=google.com; s=arc-20160816; b=fB5WUVixFytUro55XukAjxfjnvM69WObfv2QaFnY7qUZROjqStfJ3ZIW++nXVWfQKY uDDTp0KIhmKxM58KBZJAsKePN2xOMP6gCUusz18hbH6lf55CN5buZMCF/VVCwq4t1nd1 +8vvY9QftFoxgl4vOfL200jWEmXajqUs9dwI2T1l6PH28RxxiW1DO5R6WzS9nGtdxGTM KDjq5Qmnfediq1ST5vaztsx8MVWnnJFy6xxVZ/7lTBPa2htPsbMcPre9fZfSCklUz4NR SvV+GWOOZyfrqTi2+ms3SoFQU84R07QJn6CRa7eMXaJBN6X2pifTwGyX20QoTpZnN9r5 2SqQ== 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; bh=5ElMe3oC9WqRX8yO1L/YNZLq3Y0TFtXlQA4lJs704JA=; b=hTqDs3Dhp9rUuIYXJxytk2xkOpzJDqVRdun+num0SiS2Q8KwSY8tL/4//KX0ChqYWb NZUHOIwpyU/e8lIhlXCZvMT044uG1IlHVkuBkYes5u+OBofZbJ7JFL/xL4bTebtk2Ibs /zFMuj6R6Qi28T1K+1/Dc92Zpa32VmWY1v7V63Uq/SLr9KAqNCLCiXmZvdrBRzmkpbEG Yewt9jlSeppwJlnnXE0k6NRvXNHKCzy8OVgIsL/bqXBJ1XFHc6u6Uxxgo4rQ3SQxiLDx iEZh1H0UMdvwXSflpwdsadxU7394peEmgqB6N7kVBV6eq+e7FdS0bKLk2NGI8BzrnRsL wrQg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11si2625498otq.112.2020.02.11.15.41.50; Tue, 11 Feb 2020 15:42:03 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728102AbgBKXis (ORCPT + 99 others); Tue, 11 Feb 2020 18:38:48 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:42015 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728052AbgBKXio (ORCPT ); Tue, 11 Feb 2020 18:38:44 -0500 Received: from 79.184.254.199.ipv4.supernova.orange.pl (79.184.254.199) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.341) id 1502ec76482e32b6; Wed, 12 Feb 2020 00:38:43 +0100 From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Amit Kucheria , Peter Chen , linux-usb@vger.kernel.org Subject: [PATCH 23/28] drivers: usb: Call cpu_latency_qos_*() instead of pm_qos_*() Date: Wed, 12 Feb 2020 00:28:44 +0100 Message-ID: <19064076.ICumzjfW0v@kreacher> In-Reply-To: <1654227.8mz0SueHsU@kreacher> References: <1654227.8mz0SueHsU@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Rafael J. Wysocki" Call cpu_latency_qos_add/remove_request() instead of pm_qos_add/remove_request(), respectively, because the latter are going to be dropped. No intentional functional impact. Signed-off-by: Rafael J. Wysocki --- drivers/usb/chipidea/ci_hdrc_imx.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index d8e7eb2f97b9..a479af3ae31d 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c @@ -393,8 +393,7 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev) } if (pdata.flags & CI_HDRC_PMQOS) - pm_qos_add_request(&data->pm_qos_req, - PM_QOS_CPU_DMA_LATENCY, 0); + cpu_latency_qos_add_request(&data->pm_qos_req, 0); ret = imx_get_clks(dev); if (ret) @@ -478,7 +477,7 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev) /* don't overwrite original ret (cf. EPROBE_DEFER) */ regulator_disable(data->hsic_pad_regulator); if (pdata.flags & CI_HDRC_PMQOS) - pm_qos_remove_request(&data->pm_qos_req); + cpu_latency_qos_remove_request(&data->pm_qos_req); data->ci_pdev = NULL; return ret; } @@ -499,7 +498,7 @@ static int ci_hdrc_imx_remove(struct platform_device *pdev) if (data->ci_pdev) { imx_disable_unprepare_clks(&pdev->dev); if (data->plat_data->flags & CI_HDRC_PMQOS) - pm_qos_remove_request(&data->pm_qos_req); + cpu_latency_qos_remove_request(&data->pm_qos_req); if (data->hsic_pad_regulator) regulator_disable(data->hsic_pad_regulator); } @@ -527,7 +526,7 @@ static int __maybe_unused imx_controller_suspend(struct device *dev) imx_disable_unprepare_clks(dev); if (data->plat_data->flags & CI_HDRC_PMQOS) - pm_qos_remove_request(&data->pm_qos_req); + cpu_latency_qos_remove_request(&data->pm_qos_req); data->in_lpm = true; @@ -547,8 +546,7 @@ static int __maybe_unused imx_controller_resume(struct device *dev) } if (data->plat_data->flags & CI_HDRC_PMQOS) - pm_qos_add_request(&data->pm_qos_req, - PM_QOS_CPU_DMA_LATENCY, 0); + cpu_latency_qos_add_request(&data->pm_qos_req, 0); ret = imx_prepare_enable_clks(dev); if (ret) -- 2.16.4