Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5425251ybv; Tue, 11 Feb 2020 15:41:22 -0800 (PST) X-Google-Smtp-Source: APXvYqwgcE5LN3JYSb/LtCf3wItToXYK8ccu96XCg7ztDzJwzZw3qASAdhcD6g0RPdHWQmi3tqsj X-Received: by 2002:a9d:7e99:: with SMTP id m25mr6949030otp.212.1581464482370; Tue, 11 Feb 2020 15:41:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581464482; cv=none; d=google.com; s=arc-20160816; b=v4eotB3f2se1tekpGzWLYeRstdlgPY3IiuSeCjh3lOUYHPweW/erluLSHbEDNk2sA6 UYkUwPPP2BfZf8xXW5fcGNSi2L4NuSE6HE+ZWAe7esjhi49lOp3CHzZjn9UChqLETcgI fEnrsYYOUQQXtLecFVxAnvnt6F6LGi94AG+FbL4t8WtHtGXdHZIYbV2fCTaTsa3Wj5EH HRRfzxW7iU/CVUEQty8fp9CEA14MTtOBivvo8S17upism0N1A8hEZDYp/H2AfP9ZmdsO +TgaNQqnRmb6dNA7weYcQreT3VenMqgBXi8YA969YrAgq86YNg3eFw1VntymH4hFBkmA Irng== 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=l+y3rT5ILtKX5vr5zVETOwhp0CMVceeR+PcT8dZIJb4=; b=tXezV+C6wRVcD5HbFwj/5CD+wmDbs3MN7tXJ+Ho6JMXN7O1MAYc/AJUJ0BeT0OFZjW wLWi0o96lvsXsiz7EVPhGS5sCiyAz99d4NaHZ9ODsRbuV55zdNR/Tn0Wvj3iS+xPW0K/ IKAcVJeT6F/Zr+KSp6lNkQm8GBM/IYXEw7QQa2om+HoH0v8UDMSfKamPxGon2DB6qdV2 D0Jb+4R/2kUI8pdjV5eqmu7mje3OEW10/dDDs4+z6B+94rM9ZX650qyMqKOlnPP/faSv IkzPSxSh0AWv9IgjnMoGM87MvR+9HEmwRB1BxjwLozbRb0cuK+zvaIg/zh0xC2W2frZp +uuw== 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 s22si2884472otq.100.2020.02.11.15.41.10; Tue, 11 Feb 2020 15:41:22 -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 S1728198AbgBKXk1 (ORCPT + 99 others); Tue, 11 Feb 2020 18:40:27 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:54725 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728062AbgBKXiq (ORCPT ); Tue, 11 Feb 2020 18:38:46 -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 836d623a7f020c50; Wed, 12 Feb 2020 00:38:44 +0100 From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Amit Kucheria , Han Xu , linux-spi@vger.kernel.org Subject: [PATCH 21/28] drivers: spi: Call cpu_latency_qos_*() instead of pm_qos_*() Date: Wed, 12 Feb 2020 00:26:04 +0100 Message-ID: <3093071.fpHvlHfnRF@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/spi/spi-fsl-qspi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-fsl-qspi.c b/drivers/spi/spi-fsl-qspi.c index e8a499cd1f13..02e5cba0a5bb 100644 --- a/drivers/spi/spi-fsl-qspi.c +++ b/drivers/spi/spi-fsl-qspi.c @@ -484,7 +484,7 @@ static int fsl_qspi_clk_prep_enable(struct fsl_qspi *q) } if (needs_wakeup_wait_mode(q)) - pm_qos_add_request(&q->pm_qos_req, PM_QOS_CPU_DMA_LATENCY, 0); + cpu_latency_qos_add_request(&q->pm_qos_req, 0); return 0; } @@ -492,7 +492,7 @@ static int fsl_qspi_clk_prep_enable(struct fsl_qspi *q) static void fsl_qspi_clk_disable_unprep(struct fsl_qspi *q) { if (needs_wakeup_wait_mode(q)) - pm_qos_remove_request(&q->pm_qos_req); + cpu_latency_qos_remove_request(&q->pm_qos_req); clk_disable_unprepare(q->clk); clk_disable_unprepare(q->clk_en); -- 2.16.4