From patchwork Thu Sep 13 13:38:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1452591 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (unknown [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id CEB943FE79 for ; Thu, 13 Sep 2012 13:52:58 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TC9fI-00047N-AY; Thu, 13 Sep 2012 13:41:08 +0000 Received: from na3sys009aog121.obsmtp.com ([74.125.149.145]) by merlin.infradead.org with smtps (Exim 4.76 #1 (Red Hat Linux)) id 1TC9cf-0002ol-NG for linux-arm-kernel@lists.infradead.org; Thu, 13 Sep 2012 13:38:27 +0000 Received: from mail-ob0-f177.google.com ([209.85.214.177]) (using TLSv1) by na3sys009aob121.postini.com ([74.125.148.12]) with SMTP ID DSNKUFHhz6c16rVeiGtc7PHsXDMhQY/YFGvF@postini.com; Thu, 13 Sep 2012 06:38:25 PDT Received: by obbta17 with SMTP id ta17so4672857obb.36 for ; Thu, 13 Sep 2012 06:38:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=UkMrBzKShNLnhfCBnWB3Vs+LgmYy8Y44PlMcpiXNXF8=; b=QicsI0vMfFpPoL5KdXubRFjADWOtSiPxwCD9/0CUI7Emv/KFJBZkDrIlbJbjbsoIgv PW/MCxpUHNfMydFSWeRxT23eVgvhCyCOKeDbv7VrhBJYwEVDSmHvVticj0NeDIOP73fR 2C9ynvxGFaELNEcyoT7P9c8GfVU0iWN0z7AwikNL3gmVFya6hOAnMpxm4t55x9srGB1v 1P9XOBWRuXVpkAUVfkDxGT6nbNPcv3PLLIkCjJx39r74xlwS1mGlGLfvJCuOJ9hR1ta/ 2h1Yx1nbwMYsmXOhlYFHKx8GARyTv08VdBhzcZoBOl0uwQDRaaT/Fxkh/qLE7IRC02At 207A== Received: by 10.60.5.229 with SMTP id v5mr2191820oev.70.1347543502847; Thu, 13 Sep 2012 06:38:22 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id n8sm19403567oec.5.2012.09.13.06.38.19 (version=SSLv3 cipher=OTHER); Thu, 13 Sep 2012 06:38:22 -0700 (PDT) From: Peter Ujfalusi To: Mark Brown , Liam Girdwood , Tony Lindgren , Russell King , Vinod Koul , Dan Williams , Jarkko Nikula Subject: [PATCH v2 13/15] ASoC: omap-pcm, omap-dmic: Change the use of omap_pcm_dma_data->data_type Date: Thu, 13 Sep 2012 16:38:03 +0300 Message-Id: <1347543485-339-14-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.12 In-Reply-To: <1347543485-339-1-git-send-email-peter.ujfalusi@ti.com> References: <1347543485-339-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQnOd72GFFGcOFlyCQcSKUGJPKBkB8txlpwjOHoqbcX8ZksymU50yo8k40579SK8g8NyTRPd X-Spam-Note: CRM114 invocation failed X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [74.125.149.145 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen , Janusz Krzysztofik , Ricardo Neri , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Instead of the OMAP DMA data type definition the data_type will be used to specify the number of bits the DMA word should be configured or 0 in case when based on the stream's format the omap-pcm can decide the needed DMA word size. This feature is needed for the omap-hdmi where the sDMA need to be configured for 32bit word type regardless of the audio format used. Signed-off-by: Peter Ujfalusi --- sound/soc/omap/omap-hdmi.c | 3 +-- sound/soc/omap/omap-pcm.c | 3 ++- sound/soc/omap/omap-pcm.h | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sound/soc/omap/omap-hdmi.c b/sound/soc/omap/omap-hdmi.c index b194646..0951767 100644 --- a/sound/soc/omap/omap-hdmi.c +++ b/sound/soc/omap/omap-hdmi.c @@ -34,7 +34,6 @@ #include #include