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: 1452171 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 01D543FE79 for ; Thu, 13 Sep 2012 13:39:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755516Ab2IMNjG (ORCPT ); Thu, 13 Sep 2012 09:39:06 -0400 Received: from na3sys009aog104.obsmtp.com ([74.125.149.73]:58049 "EHLO na3sys009aog104.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755641Ab2IMNiY (ORCPT ); Thu, 13 Sep 2012 09:38:24 -0400 Received: from mail-oa0-f46.google.com ([209.85.219.46]) (using TLSv1) by na3sys009aob104.postini.com ([74.125.148.12]) with SMTP ID DSNKUFHhz6c16rVeiGtc7PHsXDMhQY/YFGvF@postini.com; Thu, 13 Sep 2012 06:38:23 PDT Received: by oago6 with SMTP id o6so1866993oag.19 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=HChoO52Hbpe1/1JOksCJweGg65q/H7hL7Vh7dkwOtUtrgVcECOhC3Bj8855JtfE8oY /7mPty6YdoPr7jb13a1Y/dvpDq44c0L2uAXSU5xeGVou6au9147WA19tbSLgMZD6n2lA ksjyb5ZPpISQZMStyT22PhPbXW12EvwwgD2AOQA2JYlRi1RKkxlVwT/OJzz4+IRghF0R /Jz3izmYH2F1PAVdc54z24aafSvM44TwVynpvA4byUb7bKgtr4RDpt53q/VaHMRrIN5r 16zEWgtCIhlEBM6qqRFwluOWzoogkOHKqlRhCic/0HcJW7iqm8VkwiZSmJ2B6ByRlT8Q Glqg== 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 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 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: ALoCoQmk1/R77BeTS34ioYHI9x4+Vw5A4W/c6OXfCHVoDks6lpXgSMJl8djOKTIMRJvLO4Da8GS8 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