From patchwork Mon Jun 30 19:20:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 4454111 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 30A25BEECB for ; Mon, 30 Jun 2014 19:22:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 728832037E for ; Mon, 30 Jun 2014 19:22:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6C7DA2038E for ; Mon, 30 Jun 2014 19:22:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756921AbaF3TWg (ORCPT ); Mon, 30 Jun 2014 15:22:36 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:64812 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754543AbaF3TWg (ORCPT ); Mon, 30 Jun 2014 15:22:36 -0400 Received: by mail-wi0-f175.google.com with SMTP id r20so6644373wiv.14 for ; Mon, 30 Jun 2014 12:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=a1968K9TIA7gjiHNY3M26hort6EY38lA6aD3TB0C9J4=; b=KzZcYpMMAbxqDuZjaL+8NDDHWA5DEy5EQ2tk5eTBeAHccLKt7TZdYioPZ/bUgfUbzs GCEN/d7wyBxqEA7GRhVoM5CT68G9Bfl54G5hk+XvxiP/jcCqxZAoEgOiQ/9J41KUNRYi gR4cyYjVdlKX0NREOXgfBZtASxdlukNZ2ZrsUtEuw07yF5U69gr+4ClmbKOf2iup95t6 sv46J7mfbJLdtXtQk/IWVVIDoAkYGAiVRaLdlBPOwUKWkzxVC77osohIiXWn5TWhWlR1 y72TMJ9wr2ubqIu0//WrQesPMWi07TSLJPZf9AJQrD/VK2n5CLoTgFRdaoPV7pIW2MCX SWjQ== X-Received: by 10.180.75.212 with SMTP id e20mr32318513wiw.5.1404156155216; Mon, 30 Jun 2014 12:22:35 -0700 (PDT) Received: from anarsoul-thinkpad.localdomain ([212.98.170.222]) by mx.google.com with ESMTPSA id nf11sm680608wic.9.2014.06.30.12.22.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Jun 2014 12:22:34 -0700 (PDT) From: Vasily Khoruzhick To: Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Ben Dooks Cc: Vasily Khoruzhick Subject: [PATCH 2/6] ARM: s3c24xx: add dma_coherent_mask for DMA devices Date: Mon, 30 Jun 2014 22:20:05 +0300 Message-Id: <1404156009-3919-2-git-send-email-anarsoul@gmail.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1404156009-3919-1-git-send-email-anarsoul@gmail.com> References: <1404156009-3919-1-git-send-email-anarsoul@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Otherwise dma_alloc_coherent() fails. Signed-off-by: Vasily Khoruzhick --- arch/arm/mach-s3c24xx/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach-s3c24xx/common.c index c0763b8..2fa0a99 100644 --- a/arch/arm/mach-s3c24xx/common.c +++ b/arch/arm/mach-s3c24xx/common.c @@ -358,6 +358,7 @@ struct platform_device s3c2410_device_dma = { .resource = s3c2410_dma_resource, .dev = { .platform_data = &s3c2410_dma_platdata, + .coherent_dma_mask = ~0, }, }; #endif @@ -455,6 +456,7 @@ struct platform_device s3c2440_device_dma = { .resource = s3c2410_dma_resource, .dev = { .platform_data = &s3c2440_dma_platdata, + .coherent_dma_mask = ~0, }, }; #endif