From patchwork Fri Sep 14 12:05:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1457961 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 29645DF280 for ; Fri, 14 Sep 2012 12:07:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759547Ab2INMHd (ORCPT ); Fri, 14 Sep 2012 08:07:33 -0400 Received: from na3sys009aog107.obsmtp.com ([74.125.149.197]:50436 "EHLO na3sys009aog107.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759610Ab2INMGZ (ORCPT ); Fri, 14 Sep 2012 08:06:25 -0400 Received: from mail-oa0-f46.google.com ([209.85.219.46]) (using TLSv1) by na3sys009aob107.postini.com ([74.125.148.12]) with SMTP ID DSNKUFMdv277sN4Nw7GAIgK1haJsm90zn/pC@postini.com; Fri, 14 Sep 2012 05:06:24 PDT Received: by oago6 with SMTP id o6so2765580oag.19 for ; Fri, 14 Sep 2012 05:06:23 -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=N5n2fmDeZJIRnbTL8h8Vb97gb4TZFNuUQCzZx2fQiyPFmH2S7S3HOjUY7VsGbDV9WU qF6JAz6b/Mvzdy7EaKhZxTXEnC49sARwaAxewwTbfT53iqCkVvGVddqPOIxMsjpL8E2l ZEltlza0mUjvaOLrPN5MoZ5Znt5cO/YANMMmNkeO3H1XwDB9766189BnxlR2KZ3QAkj1 ljc8Jp4XP2mNeS6V61o19aSwmB3PMU8b8PEaTdC5SvSgCZkc4wIjMV5hFpUVCwYGrxko GczDpgDHDUNroJFV/082Tn1/yarmnw63MD9hgwsI8KloE5GGkkoQ3h14x6I7YhtYUkcy VCFA== Received: by 10.60.0.194 with SMTP id 2mr2529388oeg.108.1347624383044; Fri, 14 Sep 2012 05:06:23 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id ac10sm1615600obc.7.2012.09.14.05.06.19 (version=SSLv3 cipher=OTHER); Fri, 14 Sep 2012 05:06:22 -0700 (PDT) From: Peter Ujfalusi To: Mark Brown , Liam Girdwood , Tony Lindgren , Russell King , Vinod Koul , Dan Williams , Jarkko Nikula Cc: alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik , Ricardo Neri , Lars-Peter Clausen Subject: [PATCH v3 13/15] ASoC: omap-pcm, omap-dmic: Change the use of omap_pcm_dma_data->data_type Date: Fri, 14 Sep 2012 15:05:56 +0300 Message-Id: <1347624358-25582-14-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.12 In-Reply-To: <1347624358-25582-1-git-send-email-peter.ujfalusi@ti.com> References: <1347624358-25582-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQlaIVBOJE7L/see+up5fDBjkrgjYN3WutFmjTLrYhdMhXAzFHZkO+QlZAcaX8PWKwmMN1UD Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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