From patchwork Wed Sep 12 11:47:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1443031 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 E804ADF28C for ; Wed, 12 Sep 2012 11:48:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756885Ab2ILLsB (ORCPT ); Wed, 12 Sep 2012 07:48:01 -0400 Received: from na3sys009aog138.obsmtp.com ([74.125.149.19]:56993 "EHLO na3sys009aog138.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756489Ab2ILLrK (ORCPT ); Wed, 12 Sep 2012 07:47:10 -0400 Received: from mail-oa0-f46.google.com ([209.85.219.46]) (using TLSv1) by na3sys009aob138.postini.com ([74.125.148.12]) with SMTP ID DSNKUFB2PRicbbmB0xDZvymiVIpeVq4ZzNb/@postini.com; Wed, 12 Sep 2012 04:47:10 PDT Received: by oago6 with SMTP id o6so902548oag.19 for ; Wed, 12 Sep 2012 04:47:09 -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=ogmHVYd29ZO5RY+US3Bj4aCJU8YyqUWFsr6ZnPMs5OOw/LY5sW6Nu55/k/Bq3cTTBu rrJn1py8T/Ky+RP3Hw8vViIlyQsRGTMTJyBGy1KS/EL+NW6ox7Z4HBxjGJgNKeZoKsu/ ExJFtLvSIaadpn1I3NYq/2SlBdXEO7q/pvw5TAzpueTA08LXqDUKqH+Tq+BzLmPtzdZ8 e7OqgOFTbxv+yxa0+4CPao8Y4GI6P2ofKeBgSUY3LA1ES7duvkeV7phITd8KlS9U6NgD RF+ZYYfn5jcwrVmpBOfhvJHxrsrl+62uM1bPQ/WdxBjvfP9GQZWA8GnDUyJ57DgbsMZa PZEQ== Received: by 10.60.5.129 with SMTP id s1mr21649256oes.85.1347450429034; Wed, 12 Sep 2012 04:47:09 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id c6sm19835570obd.22.2012.09.12.04.47.06 (version=SSLv3 cipher=OTHER); Wed, 12 Sep 2012 04:47:08 -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 Subject: [PATCH 09/11] ASoC: omap-pcm, omap-hdmi: Change the use of omap_pcm_dma_data->data_type Date: Wed, 12 Sep 2012 14:47:05 +0300 Message-Id: <1347450427-27627-10-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.12 In-Reply-To: <1347450427-27627-1-git-send-email-peter.ujfalusi@ti.com> References: <1347450427-27627-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQnQ/AYW/ZmXdxY6Bd5MV+NVnniCEMCKaXczizSI3m5ljq4QtRd4+4jiZGYpEhDI8NcVxBBy 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