From patchwork Thu Nov 14 10:17:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 179392 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp10845775ilf; Thu, 14 Nov 2019 02:16:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwHFJXm/+Nn1yBrNXXrbyuV+dacfOvqf67jjxBI7Xb3dM/cBzlUTUB1BzC2v9yEf+rnKOYH X-Received: by 2002:a17:906:4cd2:: with SMTP id q18mr7333514ejt.319.1573726575181; Thu, 14 Nov 2019 02:16:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573726575; cv=none; d=google.com; s=arc-20160816; b=fqPDFh+I3BYc0f1MMo02gJkCFWHaZenBzPzPj+PYt75MN7ew3e8xKXotH7o1cRZmyP wYMMWv5vkRa3nkZpvEzydRPlJoFAgh1jrNRI+GA7de2HYx4qo2eLwHsPft9j3j89cO4+ 5OhvEnkHe/X5DTcYzE21S5zovTb6EuCCWt0slJgioV9jtPSgWSd88SkdCmRIWsUxtWaU RhIKqz5kMNzoHjW2Bqi/rrhpE5GNl2/MjBJpppwqxsQxu9jaFrC11vYmeLC59MG1OSlx 1fzHlQdaLB1q4VK4WhHu1i6NhXOx/uHRnHS6C+LyQVbCAe4Jftks3ORBSZqwFRSkgflc rFbw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LspHk1aChH4ufLzmXgiqvdBWcKeyK8U16diJVB/oWIU=; b=jJhDvjR1a9H6V3c6GLb/1aJm7ew3EQ7D2McuJp23xZGN5BU9x7ON/M6diZdmXJ+5u4 fDM/F7NzcK0CuLzE9zK1bCGptZUb61XkFoxEClxaM++jEM6i60ulYUONKyqxhwM1F4S6 2FjNz3TRRHLkkUbDCHJn08UmFG0YpzX+1ArmnaoMPV8BHClrl8wQW7LVGp5mMn6XnrOE alo9kzfyrtP+22kNr0tTZEYnNfwwGvTMZpGjy0XSpS8nlyA/vnOUuSIy7CGv7gcnhXkR g0KXuVITICxegga7Xsb0Yg4mdXh1rBHrLt9ROOhVcu+JfeZONwDZkxq5OYhIo+Onijrs BMrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Kob0uFVD; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u93si3904971edc.184.2019.11.14.02.16.14; Thu, 14 Nov 2019 02:16:15 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Kob0uFVD; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726598AbfKNKQK (ORCPT + 26 others); Thu, 14 Nov 2019 05:16:10 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:49696 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbfKNKQK (ORCPT ); Thu, 14 Nov 2019 05:16:10 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id xAEAG5gx072653; Thu, 14 Nov 2019 04:16:05 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573726565; bh=LspHk1aChH4ufLzmXgiqvdBWcKeyK8U16diJVB/oWIU=; h=From:To:CC:Subject:Date; b=Kob0uFVDJBQR/hu1uILa+de9/e9alHQc+MMf97iLVFHDk7W2GXFV0rH4LC3pDw5J/ 0GgMpSODh891evB2MKYyFi3RRZeQ4MXsjb9B6XKvts6mQyOtvNNs0MCBWbfqScjYND EynsIQnQWeZNNVc9PLYkgAXVcVEbraUMCkj/7CzI= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xAEAG5Z0005854 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Nov 2019 04:16:05 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 14 Nov 2019 04:16:04 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 14 Nov 2019 04:16:04 -0600 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id xAEAG2C8022278; Thu, 14 Nov 2019 04:16:02 -0600 From: Peter Ujfalusi To: , CC: , , , , Subject: [PATCH] clk: ti: dra7-atl: Remove pm_runtime_irq_safe() Date: Thu, 14 Nov 2019 12:17:18 +0200 Message-ID: <20191114101718.20619-1-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is not needed for anything, and prevents proper PM transitions for parent devices which is bad in case of ti-sysc; this effectively kills PM completely. Thus, remove the flag. Suggested-by: Tony Lindgren Signed-off-by: Peter Ujfalusi --- drivers/clk/ti/clk-dra7-atl.c | 1 - 1 file changed, 1 deletion(-) -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki Reviewed-by: Tony Lindgren diff --git a/drivers/clk/ti/clk-dra7-atl.c b/drivers/clk/ti/clk-dra7-atl.c index f65e16c4f3c4..8d4c08b034bd 100644 --- a/drivers/clk/ti/clk-dra7-atl.c +++ b/drivers/clk/ti/clk-dra7-atl.c @@ -233,7 +233,6 @@ static int of_dra7_atl_clk_probe(struct platform_device *pdev) cinfo->iobase = of_iomap(node, 0); cinfo->dev = &pdev->dev; pm_runtime_enable(cinfo->dev); - pm_runtime_irq_safe(cinfo->dev); pm_runtime_get_sync(cinfo->dev); atl_write(cinfo, DRA7_ATL_PCLKMUX_REG(0), DRA7_ATL_PCLKMUX);