From patchwork Mon Oct 7 01:54:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cho KyongHo X-Patchwork-Id: 2994151 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 04FA59F1C4 for ; Mon, 7 Oct 2013 02:29:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 26301201C8 for ; Mon, 7 Oct 2013 02:29:25 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0C1622017E for ; Mon, 7 Oct 2013 02:29:24 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VT02W-0003Mp-Rr; Mon, 07 Oct 2013 01:55:17 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VT01x-0006nM-DQ; Mon, 07 Oct 2013 01:54:41 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VT01t-0006ko-GM for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2013 01:54:38 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MU9006J7ZYDJF10@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2013 10:54:13 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id D6.0A.30629.54412525; Mon, 07 Oct 2013 10:54:13 +0900 (KST) X-AuditID: cbfee68d-b7fe86d0000077a5-79-5252144548fb Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 43.1E.05832.44412525; Mon, 07 Oct 2013 10:54:12 +0900 (KST) Received: from DO-PULLIP-CHO07.dsn.sec.samsung.com ([12.23.118.94]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MU900HLCZYCVZC0@mmp1.samsung.com>; Mon, 07 Oct 2013 10:54:12 +0900 (KST) Date: Mon, 07 Oct 2013 10:54:12 +0900 From: Cho KyongHo To: Linux ARM Kernel , Linux DeviceTree , Linux IOMMU , Linux Kernel , Linux Samsung SOC Subject: [PATCH v10 06/20] iommu/exynos: always enable runtime PM Message-id: <20131007105412.afe839f84bcaa19de1b7278f@samsung.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.10.14; i686-pc-mingw32) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOIsWRmVeSWpSXmKPExsVy+t8zQ11XkaAgg12trBZ37p5jtZh/BEi8 OvKDyWLBfmuLztkb2C16F1xls9j0+BqrxeVdc9gsZpzfx2RxYcVGdospiw6zWhx+085qcfJP L6NFy/VeJov1M16zWMy8tYbFQcDjycF5TB6zGy6yePw73M/kcefaHjaPzUvqPSbfWM7o0bdl FaPH501yHleOnmEK4IzisklJzcksSy3St0vgytj69gZbwRH2it8X8xoYl7J1MXJySAiYSLyY vIkdwhaTuHBvPVCci0NIYBmjRP/8Q+wwRS+nfGCFSCxilHjQ38QE4Uxikuhe+4YVpIpFQFXi wvtlzCA2m4CWxOq5xxlBikQE2pgkvjYeYgFxmAVOM0us2r0CrEpYwFFi7tfzYN28QPbL++eZ IPZZS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mFtcmpeul5yfu4kRnCSeSe9gXNVgcYhRgINRiYd3x/3AICHWxLLi ytxDjBIczEoivJfqgEK8KYmVValF+fFFpTmpxYcYk4H+nsgsJZqcD0xgeSXxhsYmZkaWRmYW Ribm5qQJK4nzHmy1DhQSSE8sSc1OTS1ILYLZwsTBKdXAyBntJMLa331wGke+u2dUxvdpDq37 +yN8Y9YfCNl1N+elsPaUg7+13n96KVahXLawv8vY4ejJ8v7Nby24bxndDF0Q4fbel1+qseHL hLPfQm0lo7c98Us5FiQzsYoxXcr4wwUnvaN/H9aYHZnAwm4Wcddt07+k+Q9j+86sOblJiu/J Lu/r0gLySizFGYmGWsxFxYkALp45Q1YDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131006_215438_174856_7A59BA27 X-CRM114-Status: GOOD ( 11.12 ) X-Spam-Score: -6.9 (------) Cc: Kukjin Kim , Prathyush , Grant Grundler , Joerg Roedel , Subash Patel , Sachin Kamat , Sylwester Nawrocki , Varun Sethi , Antonios Motakis , Tomasz Figa , Rahul Sharma X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Checking if the probing device has a parent device was just to discover if the probing device is involved in a power domain when the power domain controlled by Samsung's custom implementation. Since generic IO power domain is applied, it is required to remove the condition to see if the probing device has a parent device. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 191cb3f..20b032f 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c @@ -644,8 +644,7 @@ static int exynos_sysmmu_probe(struct platform_device *pdev) __set_fault_handler(data, &default_fault_handler); - if (dev->parent) - pm_runtime_enable(dev); + pm_runtime_enable(dev); dev_dbg(dev, "(%s) Initialized\n", data->dbgname); return 0;