From patchwork Wed Aug 29 04:46:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 11005 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id CB2E823EFF for ; Wed, 29 Aug 2012 04:48:55 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 42EA2A185ED for ; Wed, 29 Aug 2012 04:48:24 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so317391iaf.11 for ; Tue, 28 Aug 2012 21:48:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=pvGirI91c0vU3kttwKCStBTY+WHwYp0s0LVnUjQx/Sg=; b=hjUBgPj023Z/T6yBxPCeI29P3xbIOkpEMnWzAcerIC1IwCwZSZY7UgRh1c/KBY3yZi s2KBV6TZ79x81d4yC6ibQN9wCF2gkzwnpO6neXsTYB9XVSNvJnp7OtwMuZg3bZ+iAemd 1ep5TWEXkEHf634z2jfbQA8mI7Sxw7hH9R6CtMdL+d4qW7U0t3Vw0LtmnlFZZwkwk/gX hthhDeSIwdBqI0KaYdXYDp9MEtbZt98LLAEcC2MMC/Gr39vvGCm/pS6On2AL6WATc64J 4kHR8a8qy5q44Lk2rKMsA9IIxNaH4GfVkEgCUTgDZqDq6nQS8MbBvOMtIpy0Huarr0nQ t9ww== Received: by 10.50.10.201 with SMTP id k9mr305471igb.28.1346215735254; Tue, 28 Aug 2012 21:48:55 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp63910igc; Tue, 28 Aug 2012 21:48:54 -0700 (PDT) Received: by 10.68.130.201 with SMTP id og9mr1826248pbb.12.1346215734651; Tue, 28 Aug 2012 21:48:54 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id gk6si40395700pbc.185.2012.08.28.21.48.54 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Aug 2012 21:48:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by mail-pb0-f50.google.com with SMTP id md12so490458pbc.37 for ; Tue, 28 Aug 2012 21:48:54 -0700 (PDT) Received: by 10.68.228.1 with SMTP id se1mr1658390pbc.110.1346215734337; Tue, 28 Aug 2012 21:48:54 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id hr1sm18511018pbc.23.2012.08.28.21.48.51 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Aug 2012 21:48:53 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: vinod.koul@intel.com, kgene.kim@samsung.com, jaswinder.singh@linaro.org, patches@linaro.org Subject: [PATCH 1/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE Date: Wed, 29 Aug 2012 10:16:24 +0530 Message-Id: <1346215585-31023-2-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1346215585-31023-1-git-send-email-tushar.behera@linaro.org> References: <1346215585-31023-1-git-send-email-tushar.behera@linaro.org> X-Gm-Message-State: ALoCoQndedhYqpyiJRHb+917eHHBGa77TAz+cMsXvZWU0EpPvWq6czz3DccGXMY8N0GJ9dhJyu1M DMA clients pdma0 and pdma1 are internal to the SoC and are used only by dedicated peripherals. Since they cannot be used for generic purpose, their capability should be set as DMA_PRIVATE. CC: Kukjin Kim Signed-off-by: Tushar Behera --- arch/arm/mach-exynos/dma.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/dma.c b/arch/arm/mach-exynos/dma.c index f60b66d..21d568b 100644 --- a/arch/arm/mach-exynos/dma.c +++ b/arch/arm/mach-exynos/dma.c @@ -303,10 +303,12 @@ static int __init exynos_dma_init(void) dma_cap_set(DMA_SLAVE, exynos_pdma0_pdata.cap_mask); dma_cap_set(DMA_CYCLIC, exynos_pdma0_pdata.cap_mask); + dma_cap_set(DMA_PRIVATE, exynos_pdma0_pdata.cap_mask); amba_device_register(&exynos_pdma0_device, &iomem_resource); dma_cap_set(DMA_SLAVE, exynos_pdma1_pdata.cap_mask); dma_cap_set(DMA_CYCLIC, exynos_pdma1_pdata.cap_mask); + dma_cap_set(DMA_PRIVATE, exynos_pdma1_pdata.cap_mask); amba_device_register(&exynos_pdma1_device, &iomem_resource); dma_cap_set(DMA_MEMCPY, exynos_mdma1_pdata.cap_mask);